public abstract class DataBlockProxy extends DataBlock
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Modifier | Constructor and Description |
---|---|
protected |
DataBlockProxy() |
|
DataBlockProxy(ISBounds isb,
RecordDescriptor recordDesc) |
|
DataBlockProxy(ISBounds isb,
RecordDescriptor recordDesc,
AxisOrdering ordering) |
Modifier and Type | Method and Description |
---|---|
void |
datum(Datum dtm,
IndexSpaceID did)
Given an IndexSpaceID, copy the values of the Datum at that position to the
argument Datum.
|
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
Given an IndexSpaceID and FieldIDMapper, copy the values of the Datum at
that position to the argument Datum.
|
protected DataBlock |
getDataBlock()
DataBlock getDataBlock()
|
protected abstract DataBlock |
loadData()
loadData() - responsibility of the child class to implement code to load the
true DataBlock object.
|
protected void |
setDataBlock(DataBlock blk)
setDataBlock( DataBlock blk )
|
void |
setDatum(IndexSpaceID isid,
Datum d)
Set the location specified by the IndexSpaceID to the given datum.
|
void |
subblock(DataBlock dstBlock,
ISBounds srcBounds,
FieldIDMapper fmap)
Reads a subblock defined by srcBounds into the Datablock argument.
|
void |
subblock(DataBlock dstBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Reads a subblock defined by srcBounds into the region of the Datablock argument
defined by dstBounds.
|
void |
subblock(DataBlock dstBlock,
ISBounds dstBounds,
ISBounds srcBounds,
FieldIDMapper fmap)
Reads a subblock defined by srcBounds into the region of the Datablock argument
defined by dstBounds.
|
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, 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, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volume
protected DataBlockProxy()
public DataBlockProxy(ISBounds isb, RecordDescriptor recordDesc, AxisOrdering ordering)
isb
- recordDesc
- axisOrdering
- public DataBlockProxy(ISBounds isb, RecordDescriptor recordDesc)
isb
- recordDesc
- protected abstract DataBlock loadData()
protected void setDataBlock(DataBlock blk)
protected DataBlock getDataBlock()
public void setDatum(IndexSpaceID isid, Datum d)
DataBlock
setDatum
in class DataBlock
DataBlock.setDatum(edu.unh.sdb.datasource.IndexSpaceID,
edu.unh.sdb.common.Datum)
public void datum(Datum dtm, IndexSpaceID did)
DataCollection
datum
in interface Indexable
datum
in class DataCollection
DataCollection.datum(edu.unh.sdb.common.Datum,
edu.unh.sdb.datasource.IndexSpaceID)
public void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
DataCollection
datum
in interface Indexable
datum
in class DataCollection
DataCollection.datum(edu.unh.sdb.common.Datum,
edu.unh.sdb.datasource.IndexSpaceID, edu.unh.sdb.common.FieldIDMapper)
public void subblock(DataBlock dstBlock, ISBounds dstBounds, ISBounds srcBounds)
DataCollection
subblock
in interface Indexable
subblock
in class DataCollection
DataCollection.subblock(edu.unh.sdb.datasource.DataBlock,
edu.unh.sdb.datasource.ISBounds, edu.unh.sdb.datasource.ISBounds)
public void subblock(DataBlock dstBlock, ISBounds srcBounds, FieldIDMapper fmap)
DataCollection
subblock
in class DataCollection
edu.unh.sdb.datasource.DataCollection#subblock(edu.unh.sdb.common.DataBlock,
edu.unh.sdb.datasource.ISBounds, edu.unh.sdb.datasource.FieldIDMapper)
public void subblock(DataBlock dstBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper fmap)
DataCollection
subblock
in interface Indexable
subblock
in class DataCollection
edu.unh.sdb.datasource.DataCollection#subblock(edu.unh.sdb.common.DataBlock,
edu.unh.sdb.datasource.ISBounds, edu.unh.sdb.datasource.FieldIDMapper)