public class RegCellDataSource extends CellDataSource implements CellIndexable
fdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description |
|---|
RegCellDataSource(DataSource ds)
Constructor sets all data members to copies of the
corresponding members from a point DataSource corresponding
to this cell data source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
The DataSource will perform any initialization required
in order to begin reading/processing data.
|
void |
datum(Datum dtm,
IndexSpaceID did)
PBR: Return by reference the Datum corresponding to the given
IndexSpaceID.
|
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
PBR: Return by reference the Datum corresponding to the given
IndexSpaceID.
|
void |
datum(Datum dtm,
IndexSpaceID did,
RecordSpec recSpec)
PBR: Return by reference the Datum corresponding to the given
IndexSpaceID.
|
Datum |
datum(IndexSpaceID did)
Return the Datum corresponding to the given IndexSpaceID.
|
Datum |
datum(IndexSpaceID did,
RecordSpec spec)
Return the Datum corresponding to the given IndexSpaceID.
|
void |
deactivate()
The DataSource will release any resources used during the
readling or processing of data.
|
Cell |
getCell(IndexSpaceID cellISID)
Get a cell in the cell data source
|
DataBlock |
getCellData(IndexSpaceID cellISID)
Get the point block of a cell
|
Datum[] |
getCornerDatums(IndexSpaceID cellISID)
Get the datums of the corners in a cell
|
IndexSpaceID[] |
getCorners(IndexSpaceID cellISID)
Get the corners of a cell
|
DimResolution |
getDimResolution()
Get the dimensional resolution
|
int[] |
getPath()
Get the path of an uniform region cell datasource in a ARRS tree
|
DataSource |
getPointDS()
Get the point data source relative to a cell data souce
|
void |
setDimResolution(DimResolution resolution)
Set the resolution
|
void |
setPath(int[] path)
Set the path of an uniform cell datasource in a ARRS tree
|
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 rs)
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.
|
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 res)
Return a cell block with the specified resolution and the specified
bounds
|
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, main, setMetadataCollectionbyteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, 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, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volumeclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyBounds, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblockpublic RegCellDataSource(DataSource ds)
public void activate()
activate in class DataSourcepublic DataSource getPointDS()
public void setDimResolution(DimResolution resolution)
public void setPath(int[] path)
public int[] getPath()
public DimResolution getDimResolution()
public IndexSpaceID[] getCorners(IndexSpaceID cellISID)
public Datum[] getCornerDatums(IndexSpaceID cellISID)
public DataBlock getCellData(IndexSpaceID cellISID)
public Cell getCell(IndexSpaceID cellISID)
public void deactivate()
deactivate in class DataSourcepublic Datum datum(IndexSpaceID did)
datum in interface Indexabledatum in class DataCollectionpublic Datum datum(IndexSpaceID did, RecordSpec spec)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum dtm, IndexSpaceID did)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum dtm, IndexSpaceID did, RecordSpec recSpec)
datum in interface Indexabledatum in class DataCollectionpublic DataBlock subblock(ISBounds db)
subblock in interface Indexablesubblock in class DataCollectionpublic void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
subblock in interface Indexablesubblock in class DataCollectionpublic void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
DataCollectionsubblock in interface Indexablesubblock in class DataCollectionpublic void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, RecordSpec rs)
DataCollectionsubblock in interface Indexablesubblock in class DataCollectionpublic void urCellBlock(DataBlock ublock, ISBounds b, ISBounds res)
urCellBlock in interface CellIndexablepublic java.lang.String toString()
toString in class DataSourcepublic java.lang.String toString(java.lang.String indent)
toString in class DataSource