edu.unh.sdb.datasource
Class ARRSCellCopyDS

java.lang.Object
  extended by edu.unh.sdb.datasource.DataCollection
      extended by edu.unh.sdb.datasource.DataSource
          extended by edu.unh.sdb.datasource.CellDataSource
              extended by edu.unh.sdb.datasource.ARRSCellDataSource
                  extended by edu.unh.sdb.datasource.ARRSCellCopyDS
All Implemented Interfaces:
CellIndexable, Indexable

public class ARRSCellCopyDS
extends ARRSCellDataSource
implements CellIndexable


Field Summary
 
Fields inherited from class edu.unh.sdb.datasource.ARRSCellDataSource
pointDS, subtree, 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
ARRSCellCopyDS()
          Construct a ARRSCellCopyDS without arguments
ARRSCellCopyDS(ARRSTree tree, DataSource pointds)
          Construct a ARRSCellCopyDS with an ARRSTree
ARRSCellCopyDS(java.lang.String command, java.lang.String indexFDL, java.lang.String pdsFDL)
          Construct a ARRSCellCopyDS with command file,indexFDL,and ARRSCellCopyDS
 
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; }
 void subblock(DataBlock theBlock, ISBounds bd)
          Reads a subblock defined by the specified bounds into the DataBlock argument
 DataBlock subblock(ISBounds db)
          Return a new DataBlock that is a subset of this datablock.
 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.ARRSCellDataSource
data, datum, datum, datum, deactivate, getARRSTree, getBaseBounds, getPointDS, init, setARRSTree, setBaseBounds, setDatum, setPointDS, size, subblock, subblock
 
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 edu.unh.sdb.datasource.DataCollection
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, datum, datum, datum, dim, 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, getValues, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volume
 
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, datum, datum, datum, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock, subblock, subblock, subblock
 

Constructor Detail

ARRSCellCopyDS

public ARRSCellCopyDS()
Construct a ARRSCellCopyDS without arguments


ARRSCellCopyDS

public ARRSCellCopyDS(ARRSTree tree,
                      DataSource pointds)
Construct a ARRSCellCopyDS with an ARRSTree


ARRSCellCopyDS

public ARRSCellCopyDS(java.lang.String command,
                      java.lang.String indexFDL,
                      java.lang.String pdsFDL)
Construct a ARRSCellCopyDS with command file,indexFDL,and ARRSCellCopyDS

Method Detail

activate

public void activate()
Description copied from class: ARRSCellDataSource
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; }

Overrides:
activate in class ARRSCellDataSource

subblock

public DataBlock subblock(ISBounds db)
Return a new DataBlock that is a subset of this datablock. The Data is shared between the two DataBlocks.

Specified by:
subblock in interface Indexable
Specified by:
subblock in class ARRSCellDataSource

subblock

public void subblock(DataBlock theBlock,
                     ISBounds bd)
Reads a subblock defined by the specified bounds into the DataBlock argument

Specified by:
subblock in class ARRSCellDataSource

urCellBlock

public void urCellBlock(DataBlock urBlock,
                        ISBounds b,
                        ISBounds res)
Return a cell block with the specified bounds and the specified resolution

Specified by:
urCellBlock in interface CellIndexable
Specified by:
urCellBlock in class ARRSCellDataSource