public class URCellBlock extends RectCellBlock implements CellIndexable
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
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
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, subblock, useBytesOnly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyBounds, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock
public URCellBlock()
public URCellBlock(ISBounds isb, AxisOrdering ordering, RecordDescriptor recordDesc)
public URCellBlock(ISBounds isb, RecordDescriptor recordDesc)
public URCellBlock(DataBlock b)
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()
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)
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