|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.DataCollection
edu.unh.sdb.datasource.DataBlock
edu.unh.sdb.datasource.DatumBlock
public class DatumBlock
A DatumBlock is a DataBlock that stores its data as an internal array of FloatDatums.
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.DataCollection |
---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
Constructor Summary | |
---|---|
DatumBlock(Datum[] data,
ISBounds isb,
AxisOrdering ordering,
RecordDescriptor recordDesc)
Deprecated. Construct a datablock with the given data, ISBounds, axis axisOrdering and RecordDescriptor. |
|
DatumBlock(Datum[] data,
ISBounds isb,
RecordDescriptor recordDesc)
Deprecated. Construct a datablock with the given data and ISBounds. |
|
DatumBlock(ISBounds isb,
RecordDescriptor recordDesc)
Deprecated. Construct a datablock with the given bounds and number of attributes. |
Method Summary | |
---|---|
Datum[] |
data()
Deprecated. Return a reference to the actual array containing the data. |
void |
datum(Datum datum,
IndexSpaceID id)
Deprecated. Given an array of coordinates, load the corresponding datum into the datum argument. |
void |
datum(Datum dtm,
IndexSpaceID did,
FieldIDMapper mp)
Deprecated. 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)
Deprecated. Get the Datum and fill its values in the passed Datum at positions specified by the corresponding RecordSpec. |
void |
datum(Datum datum,
int[] coords)
Deprecated. Given an array of coordinates, load the corresponding datum into the datum argument. |
Datum |
datum(IndexSpaceID did)
Deprecated. Given an IndexSpaceID, return the corresponding datum. |
Datum |
datum(IndexSpaceID did,
RecordSpec spec)
Deprecated. Given an IndexSpaceID, return the corresponding datum with attributes specified in the RecordSpec. |
Values |
getValues()
Deprecated. Returns a Values array which encapsulates a 1D array of the data values in the block with one entry for every point in the block. |
void |
setDatum(IndexSpaceID isid,
Datum d)
Deprecated. Set the location specified by the IndexSpaceID to the given datum. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Deprecated. 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)
Deprecated. 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)
Deprecated. Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
DataBlock |
subblock(ISBounds db)
Deprecated. Return a new DataBlock that is a subset of this datablock. |
Methods inherited from class edu.unh.sdb.datasource.DataBlock |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatumBlock(Datum[] data, ISBounds isb, AxisOrdering ordering, RecordDescriptor recordDesc)
public DatumBlock(Datum[] data, ISBounds isb, RecordDescriptor recordDesc)
public DatumBlock(ISBounds isb, RecordDescriptor recordDesc)
Method Detail |
---|
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 Datum datum(IndexSpaceID did)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum datum, IndexSpaceID id)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum datum, int[] coords)
datum
in class DataCollection
public Datum datum(IndexSpaceID did, RecordSpec spec)
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 void setDatum(IndexSpaceID isid, Datum d)
setDatum
in class DataBlock
public Datum[] data()
public Values getValues()
DataBlock
getValues
in class DataBlock
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |