public abstract class ARRSCellDataSource extends CellDataSource
Modifier and Type | Field and Description |
---|---|
protected DataSource |
pointDS |
protected ARRSTree |
subtree |
protected ARRSTree |
tree |
fdlDescriptor, isActivated, name, wsName
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
ARRSCellDataSource()
Construct a ARRSCellDataSource without arguments
|
ARRSCellDataSource(ARRSTree tree,
DataSource pointds)
Construct a ARRSCellDataSource with an ARRSTree
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Construct a ARRSCellDataSource with the given base bounds and number of
attributes
***************** rdb delete ****************
public ARRSCellDataSource( ISBounds basebounds, RecordDescriptor recordDesc )
{
super( basebounds, recordDesc );
this.pointDS = null;
this.tree = null;
this.subtree = null;
}
|
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 |
deactivate()
The DataSource will release any resources used during the
readling or processing of data.
|
ARRSTree |
getARRSTree()
Get an ARRS tree
|
ISBounds |
getBaseBounds()
Get the base bounds
|
DataSource |
getPointDS()
Get the point datasource
|
protected void |
init() |
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
|
int |
size()
Deprecated.
Use volume instead
|
abstract 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.
|
abstract DataBlock |
subblock(ISBounds db)
Return a new DataBlock that is a subset of this datablock.
|
abstract void |
urCellBlock(DataBlock urBlock,
ISBounds b,
ISBounds res)
Return a cell block with the specified bounds and the specified
resolution
|
int |
volume()
Size of the ARRSCellDataSource -- not implemented
|
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, main, setMetadataCollection, toString, toString
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, datum, datum, datum, dim, getAttributeNames, getAxisOrdering, getAxisWeight, getAxisWeights, getBounds, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytesByAttribute, getBytesByAttribute, getBytesByPoint, getBytesByPoint, getDataOrder, getDimensionsArray, getDouble, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesByAttribute, getDoublesByAttribute, getDoublesByPoint, getDoublesByPoint, getFloat, getFloats, getFloats, getFloats, getFloats, getFloats, getFloats, getFloatsByAttribute, getFloatsByAttribute, getFloatsByPoint, getFloatsByPoint, getInt, getInts, getInts, getInts, getInts, getInts, getInts, getIntsByAttribute, getIntsByAttribute, getIntsByPoint, getIntsByPoint, getLowerBoundsArray, getNumAttributes, getRecordDescriptor, getShort, getShorts, getShorts, getShorts, getShorts, getShorts, getShorts, getShortsByAttribute, getShortsByAttribute, getShortsByPoint, getShortsByPoint, getStorageType, getUpperBoundsArray, getValues, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyBounds, datum, datum, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock, subblock
protected DataSource pointDS
protected ARRSTree tree
protected ARRSTree subtree
public ARRSCellDataSource()
public ARRSCellDataSource(ARRSTree tree, DataSource pointds)
public void activate()
activate
in class DataSource
public void deactivate()
DataSource
deactivate
in class DataSource
public void setBaseBounds(ISBounds basebounds)
public void setPointDS(DataSource pds)
public void setARRSTree(ARRSTree tree)
protected void init()
public ARRSTree getARRSTree()
public DataSource getPointDS()
public int volume()
volume
in class DataCollection
public int size()
DataCollection
size
in class DataCollection
public ISBounds getBaseBounds()
public void setDatum(IndexSpaceID isid, Datum d)
public abstract DataBlock subblock(ISBounds db)
subblock
in interface Indexable
subblock
in class DataCollection
public abstract 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 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