edu.unh.sdb.datasource
Interface Indexable

All Known Subinterfaces:
CellIndexable
All Known Implementing Classes:
AliasDataSource, ARBlock, ARRSCellBlock, ARRSCellCopyDS, ARRSCellDataSource, ARRSCopyDataBlock, AttributeJoinDataSource, AttributeOrderBFDS, BasicBlock, BinaryFileDataSource, BlockCacheDataSource, BlockedDataSource, BlockListCacheDataSource, CacheDataBlock, CacheDataSource, CellBlock, CellDataCollection, CellDataSource, ChunkedDataSource, CompositeBlock, CompositeDataSource, DataBlock, DataBlockProxy, DataCollection, DataSource, DatumBlock, DSPartitionedStencilIterator, DSThreadedPartitionedStencilIterator, DynamicChunking, FileDataSource, ForeignReferenceDataSource, GraniteRemoteClient, LRUCacheDataSource, MRDataSource, MultiBlockCacheDataSource, ObliquePlaneIterator, OverlapBlockedDataSource, PhysicalDataSource, PointOrderBFDS, RayCellIterator, RectCellBlock, RegCellDataSource, RemoteBFDS, RemoteUDPClient, RemoteUDTClient, StatsDataSource, TextFileDataSource, ThreadedBlockCacheDataSource, ThreadedSliceCacheDataSource, UniBlockCacheDataSource, URCellBlock, VRDataBlock, VRDataSource, VRIndexable

public interface Indexable

An interface for classes that can be thought of as an index space. Such classes can return a datum corresponding to an IndexSpaceID. Currently, DataSource and DataBlock are the only indexable classes.


Method Summary
 ISBounds copyBounds()
           
 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.
 Datum datum(IndexSpaceID did)
           
 Datum datum(IndexSpaceID did, RecordSpec spec)
           
 int dim()
           
 ISBounds getBounds()
           
 int getNumAttributes()
           
 RecordDescriptor getRecordDescriptor()
           
 void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
           
 void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
           
 void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, RecordSpec spec)
           
 DataBlock subblock(ISBounds db)
          return a subblock defined by the bounds
 DataBlock subblock(ISBounds db, FieldIDMapper fmap)
          return a subbloc defined by the bounds and a FieldIDMapper
 DataBlock subblock(ISBounds db, RecordSpec rs)
          return a subbloc defined by the bounds and recordSpec
 

Method Detail

datum

Datum datum(IndexSpaceID did)

datum

Datum datum(IndexSpaceID did,
            RecordSpec spec)

datum

void datum(Datum dtm,
           IndexSpaceID did)
Return by reference the Datum corresponding to the given IndexSpaceID.


datum

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.


datum

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.


subblock

DataBlock subblock(ISBounds db)
return a subblock defined by the bounds


subblock

DataBlock subblock(ISBounds db,
                   RecordSpec rs)
return a subbloc defined by the bounds and recordSpec


subblock

DataBlock subblock(ISBounds db,
                   FieldIDMapper fmap)
return a subbloc defined by the bounds and a FieldIDMapper


subblock

void subblock(DataBlock theBlock,
              ISBounds dstBounds,
              ISBounds srcBounds)

subblock

void subblock(DataBlock theBlock,
              ISBounds dstBounds,
              ISBounds srcBounds,
              FieldIDMapper mp)

subblock

void subblock(DataBlock theBlock,
              ISBounds dstBounds,
              ISBounds srcBounds,
              RecordSpec spec)

dim

int dim()

copyBounds

ISBounds copyBounds()

getBounds

ISBounds getBounds()

getNumAttributes

int getNumAttributes()

getRecordDescriptor

RecordDescriptor getRecordDescriptor()