public class ARRSCellBlock extends RectCellBlock implements CellIndexable
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
size, volume
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
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, 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, useBytesOnly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyBounds, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock
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)
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)
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