|
|||||||||
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.ARRSCellBlock
public class ARRSCellBlock
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.DataCollection |
---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
Constructor Summary | |
---|---|
ARRSCellBlock()
Construct a ARRSCellBlock without arguments |
|
ARRSCellBlock(ARRSTree tree,
DataSource pointds)
Construct a ARRSCellBlock with an ARRSTree |
|
ARRSCellBlock(ISBounds basebounds,
RecordDescriptor recordDesc)
Construct a ARRSCellBlock with the given base bounds and number of attributes |
|
ARRSCellBlock(java.lang.String command,
java.lang.String indexFDL,
java.lang.String pdsFDL)
Deprecated. A Block should not be created from DS specs; create DS and subblock. This is also "copy" version specific. |
Method Summary | |
---|---|
Datum[] |
data()
Return a reference to the actual array containing the data. |
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. |
ARRSTree |
getARRSTree()
Get an ARRS tree |
ISBounds |
getBaseBounds()
Get the base bounds |
DataSource |
getPointDS()
Get the point datasource |
void |
setARRSTree(ARRSTree tree)
Set an ARRS tree |
void |
setBaseBounds(ISBounds basebounds)
Set the base bounds |
void |
setDatum(IndexSpaceID isid,
Datum d)
Set the location specified by the IndexSpaceID to the given datum. |
void |
setPointDS(DataSource pds)
Set the point datasource |
void |
subblock(DataBlock theBlock,
ISBounds bd)
Reads a subblock defined by the specified bounds into the DataBlock argument |
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 datablock. |
void |
urCellBlock(DataBlock urBlock,
ISBounds b,
ISBounds res)
Fill in a cell block with the specified bounds and the specified resolution. |
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, toString |
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 ARRSCellBlock()
public ARRSCellBlock(ARRSTree tree, DataSource pointds)
public ARRSCellBlock(ISBounds basebounds, RecordDescriptor recordDesc)
public ARRSCellBlock(java.lang.String command, java.lang.String indexFDL, java.lang.String pdsFDL)
Method Detail |
---|
public void setBaseBounds(ISBounds basebounds)
public void setPointDS(DataSource pds)
public void setARRSTree(ARRSTree tree)
public ARRSTree getARRSTree()
public DataSource getPointDS()
public ISBounds getBaseBounds()
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 bd)
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 Datum[] data()
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 urCellBlock(ISBounds b, ISBounds res)
public void urCellBlock(DataBlock urBlock, ISBounds b, ISBounds res)
urCellBlock
in interface CellIndexable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |