|
|||||||||
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.DataSource
edu.unh.sdb.datasource.CellDataSource
edu.unh.sdb.datasource.ARRSCellDataSource
public abstract class ARRSCellDataSource
Field Summary | |
---|---|
protected DataSource |
pointDS
|
protected ARRSTree |
subtree
|
protected ARRSTree |
tree
|
Fields inherited from class edu.unh.sdb.datasource.DataSource |
---|
fdlDescriptor, isActivated, name, wsName |
Fields inherited from class edu.unh.sdb.datasource.DataCollection |
---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
Constructor Summary | |
---|---|
ARRSCellDataSource()
Construct a ARRSCellDataSource without arguments |
|
ARRSCellDataSource(ARRSTree tree,
DataSource pointds)
Construct a ARRSCellDataSource with an ARRSTree |
Method Summary | |
---|---|
void |
activate()
Construct a ARRSCellDataSource with the given base bounds and number of attributes ***************** rdb delete **************** public ARRSCellDataSource( ISBounds basebounds, RecordDescriptor recordDesc ) { super( basebounds, recordDesc ); this.pointDS = null; this.tree = null; this.subtree = null; } |
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 |
deactivate()
The DataSource will release any resources used during the readling or processing of data. |
ARRSTree |
getARRSTree()
Get an ARRS tree |
ISBounds |
getBaseBounds()
Get the base bounds |
DataSource |
getPointDS()
Get the point datasource |
protected void |
init()
|
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 |
int |
size()
Return the number of datums . |
abstract 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. |
abstract DataBlock |
subblock(ISBounds db)
Return a new DataBlock that is a subset of this datablock. |
abstract void |
urCellBlock(DataBlock urBlock,
ISBounds b,
ISBounds res)
Return a cell block with the specified bounds and the specified resolution |
Methods inherited from class edu.unh.sdb.datasource.DataSource |
---|
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getName, getValues, isActivated, main, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.unh.sdb.datasource.Indexable |
---|
copyBounds, datum, datum, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock, subblock |
Field Detail |
---|
protected DataSource pointDS
protected ARRSTree tree
protected ARRSTree subtree
Constructor Detail |
---|
public ARRSCellDataSource()
public ARRSCellDataSource(ARRSTree tree, DataSource pointds)
Method Detail |
---|
public void activate()
activate
in class DataSource
public void deactivate()
DataSource
deactivate
in class DataSource
public void setBaseBounds(ISBounds basebounds)
public void setPointDS(DataSource pds)
public void setARRSTree(ARRSTree tree)
protected void init()
public ARRSTree getARRSTree()
public DataSource getPointDS()
public int size()
DataCollection
size
in class DataCollection
public ISBounds getBaseBounds()
public void setDatum(IndexSpaceID isid, Datum d)
public abstract DataBlock subblock(ISBounds db)
subblock
in interface Indexable
subblock
in class DataCollection
public abstract 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 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 abstract void urCellBlock(DataBlock urBlock, ISBounds b, ISBounds res)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |