|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.DataCollection
edu.unh.sdb.datasource.DataBlock
edu.unh.sdb.datasource.CellBlock
edu.unh.sdb.datasource.RectCellBlock
edu.unh.sdb.datasource.URCellBlock
public class URCellBlock
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.DataCollection |
---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
Constructor Summary | |
---|---|
URCellBlock()
Construct a URCellBlock without arguments |
|
URCellBlock(DataBlock b)
Construct a URCellBlock with a given URCellBlock |
|
URCellBlock(ISBounds isb,
AxisOrdering ordering,
RecordDescriptor recordDesc)
Construct a URCellBlock with the given bounds, axis axisOrdering and RecordDescriptor. |
|
URCellBlock(ISBounds isb,
RecordDescriptor recordDesc)
Construct a URCellBlock with the given bounds and number of attributes |
Method Summary | |
---|---|
void |
datum(Datum dtm,
IndexSpaceID did)
Return by reference the Datum corresponding to the given IndexSpaceID. |
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
Get the Datum and fill its values in the passed Datum at positions specified by the corresponding FieldIDMapper. |
void |
datum(Datum dtm,
IndexSpaceID did,
RecordSpec recSpec)
Get the Datum and fill its values in the passed Datum at positions specified by the corresponding RecordSpec. |
void |
datum(Datum d,
int[] coordArray)
Given an array of coordinates, copy the corresponding datum into the first parameter. |
Datum |
datum(IndexSpaceID did)
Given an IndexSpaceID, return the corresponding datum. |
Datum |
datum(IndexSpaceID did,
RecordSpec spec)
Given an IndexSpaceID, return the corresponding datum with attributes specified in the RecordSpec. |
ISBounds |
getBaseBounds()
Get the base bounds |
Cell |
getCell(IntegerIndexSpaceID position)
Return a cell corresponding to the specified position |
DimResolution |
getDimResolution()
Get the dimensional resolution |
int[] |
getPath()
Get the path of an uniform region cell block in a ARRS tree |
DataBlock |
getPointDataBlock()
Get the data source |
void |
setDatum(IndexSpaceID isid,
Datum d)
Set the location specified by the IndexSpaceID to the given datum. |
void |
setDimResolution(DimResolution resolution)
Set the resolution |
void |
setPath(int[] path)
Set the path of a uniform region cell block in a ARRS tree |
void |
setPointDataBlock(DataBlock block)
Set a point data block to a uniform cell block |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
FieldIDMapper mp)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
RecordSpec spec)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
DataBlock |
subblock(ISBounds db)
Return a new DataBlock that is a subset of this URCellBlock. |
DataBlock |
subblock(RecordSpec rs,
ISBounds db)
Return a subblock corresponding to the given RecordSpec and the given ISBounds. |
java.lang.String |
toString()
Return a String representing the object. |
java.lang.String |
toString(java.lang.String indent)
Return a String representing the object indented by the argument string. |
void |
urCellBlock(DataBlock ublock,
ISBounds b,
ISBounds cellRes)
Fill a cell block with the specified resolution and the specified bounds |
DataBlock |
urCellBlock(ISBounds b,
ISBounds res)
Return a cell block with the specified bounds and the specified resolution |
Methods inherited from class edu.unh.sdb.datasource.RectCellBlock |
---|
size |
Methods inherited from class edu.unh.sdb.datasource.DataBlock |
---|
getValues, setByAttribute, setByte, setBytes, setBytes, setBytesByAttribute, setBytesByPoint, setDouble, setDoubles, setDoubles, setDoublesByAttribute, setDoublesByPoint, setFloat, setFloats, setFloats, setFloatsByAttribute, setFloatsByPoint, setInt, setInts, setInts, setIntsByAttribute, setIntsByPoint, setShort, setShorts, setShorts, setShortsByAttribute, setShortsByPoint, setValues, setValues, setValuesByAttribute, setValuesByPoint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.unh.sdb.datasource.Indexable |
---|
copyBounds, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock |
Constructor Detail |
---|
public URCellBlock()
public URCellBlock(ISBounds isb, AxisOrdering ordering, RecordDescriptor recordDesc)
public URCellBlock(ISBounds isb, RecordDescriptor recordDesc)
public URCellBlock(DataBlock b)
Method Detail |
---|
public void setDimResolution(DimResolution resolution)
public void setPath(int[] path)
public void setPointDataBlock(DataBlock block)
public int[] getPath()
public DimResolution getDimResolution()
public ISBounds getBaseBounds()
public java.lang.String toString()
toString
in class DataBlock
public java.lang.String toString(java.lang.String indent)
public Datum datum(IndexSpaceID did)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum d, int[] coordArray)
datum
in class DataCollection
public Datum datum(IndexSpaceID did, RecordSpec spec)
datum
in interface Indexable
datum
in class DataCollection
public void setDatum(IndexSpaceID isid, Datum d)
setDatum
in class DataBlock
public DataBlock subblock(ISBounds db)
subblock
in interface Indexable
subblock
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
subblock
in interface Indexable
subblock
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
subblock
in interface Indexable
subblock
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, RecordSpec spec)
subblock
in interface Indexable
subblock
in class DataCollection
public DataBlock subblock(RecordSpec rs, ISBounds db)
public void datum(Datum dtm, IndexSpaceID did)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum dtm, IndexSpaceID did, RecordSpec recSpec)
datum
in interface Indexable
datum
in class DataCollection
public DataBlock getPointDataBlock()
public Cell getCell(IntegerIndexSpaceID position)
public DataBlock urCellBlock(ISBounds b, ISBounds res)
public void urCellBlock(DataBlock ublock, ISBounds b, ISBounds cellRes)
urCellBlock
in interface CellIndexable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |