public class BlockedDataSource extends CompositeDataSource
componentInfosfdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description | 
|---|
BlockedDataSource(java.lang.String dsname,
                 ComponentInfo[] compinfo)
Construct a BlockedDataSource from an array of ComponentInfo. 
 | 
BlockedDataSource(java.lang.String aname,
                 DataSource[] sources)
This constructor joins all the blocks of the input DataSources. 
 | 
BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 FieldIDMapper[] FIDmap,
                 ISIDMapper[] ISIDmap)
Construct a BlockedDataSource from parallel arrays of DataSource,
 FieldIDMapper and ISIDMapper 
 | 
BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISBounds compositeBounds)
This constructor joins all the blocks of the input arrays. 
 | 
BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISBounds[] componentLocations)
Construct a new BlockedDS by specified by the given ISBounds array and the
  corresponding DataSource array. 
 | 
BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISIDMapper[] ISIDmap)
Construct a BlockedDataSource from parallel arrays of DataSource,
 and ISIDMapper 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate()
Activate() method call its component DataSource to activate itself 
 | 
ARBlock | 
ARRep(ISBounds bounds)
Return a ARBlock, which is a AR representation of the requested area of
 specified ISBounds 
 | 
protected boolean | 
check(ComponentInfo[] cinfo)
Check the validity of the given ComponentInfo array 
 | 
void | 
datum(Datum dtm,
     IndexSpaceID isid)
Return by reference the Datum corresponding to the given IndexSpaceID. 
 | 
void | 
datum(Datum dtm,
     IndexSpaceID isid,
     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 isid,
     RecordSpec recSpec)
Get the Datum and fill its values in the passed Datum at positions
 specified by the corresponding RecordSpec. 
 | 
BlockManager | 
getBlockManager()
Return the BlockManager, from which you can get information for each
 Component. 
 | 
protected void | 
initializeComponents(ComponentInfo[] compinfo)
Initialize the component related information on construction 
 | 
static void | 
main(java.lang.String[] args)  | 
void | 
subblock(DataBlock blk,
        ISBounds blkisb,
        ISBounds dsisb)
Get a block of data of the DataSource, pass by reference before this
 method is called, check to make sure the Dimensionality and dsisb is
 inside the DataSource's bounds 
 | 
void | 
subblock(DataBlock blk,
        ISBounds blkisb,
        ISBounds dsisb,
        FieldIDMapper mp)
Pass by reference subblock method taking FieldIDMapper 
 | 
void | 
subblock(DataBlock blk,
        ISBounds blkisb,
        ISBounds dsisb,
        RecordSpec spec)
Get a block of data of the DataSource. 
 | 
DataBlock | 
subblock(ISBounds blk,
        ISBounds resolution)
get the Datablock and fit in a Datablock which may have different size 
 | 
java.lang.String | 
toString()
Print the data members of the DataSource in an easy to read fashion. 
 | 
deactivate, equals, getComponentBounds, getComponentDataSources, getComponentFieldIDs, getComponentInfos, getCompositeBounds, getCompositeFieldIDs, getFIDMappers, useBytesOnlycheckActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, setMetadataCollection, toStringbyteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, 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, volumepublic BlockedDataSource(java.lang.String dsname,
                 ComponentInfo[] compinfo)
public BlockedDataSource(java.lang.String aname,
                 DataSource[] sources)
public BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISBounds[] componentLocations)
public BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISBounds compositeBounds)
public BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 ISIDMapper[] ISIDmap)
public BlockedDataSource(java.lang.String aname,
                 DataSource[] sources,
                 FieldIDMapper[] FIDmap,
                 ISIDMapper[] ISIDmap)
protected boolean check(ComponentInfo[] cinfo)
check in class CompositeDataSourceprotected void initializeComponents(ComponentInfo[] compinfo)
initializeComponents in class CompositeDataSourcepublic BlockManager getBlockManager()
public void activate()
activate in class CompositeDataSourcepublic void subblock(DataBlock blk, ISBounds blkisb, ISBounds dsisb, RecordSpec spec)
subblock in interface Indexablesubblock in class DataCollectionpublic void subblock(DataBlock blk, ISBounds blkisb, ISBounds dsisb)
subblock in interface Indexablesubblock in class DataCollectionpublic void subblock(DataBlock blk, ISBounds blkisb, ISBounds dsisb, FieldIDMapper mp)
subblock in interface Indexablesubblock in class DataCollectionpublic DataBlock subblock(ISBounds blk, ISBounds resolution)
public void datum(Datum dtm, IndexSpaceID isid)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum dtm, IndexSpaceID isid, FieldIDMapper mp)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum dtm, IndexSpaceID isid, RecordSpec recSpec)
datum in interface Indexabledatum in class DataCollectionpublic ARBlock ARRep(ISBounds bounds)
public java.lang.String toString()
CompositeDataSourcetoString in class CompositeDataSourcepublic static void main(java.lang.String[] args)