public abstract class CompositeDataSource extends DataSource
| Modifier and Type | Field and Description | 
|---|---|
protected ComponentInfo[] | 
componentInfos
Information for every component. 
 | 
fdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description | 
|---|
CompositeDataSource(java.lang.String aname,
                   ComponentInfo[] cinfo)
Create a CompositeDataSource defined by the ComponentInfo array. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate()
Calls the activate method of all component datasources. 
 | 
protected abstract boolean | 
check(ComponentInfo[] cpnInfo)
Check the array of componentInfo 
 | 
void | 
deactivate()
Calls the deactivate method of all component datasources. 
 | 
boolean | 
equals(java.lang.Object obj)
Return true if parameter equals this object, false otherwise. 
 | 
ISBounds[] | 
getComponentBounds()
Returns the array of component ISBoundses corresponding to the array
  this.componentInfos[]. 
 | 
DataSource[] | 
getComponentDataSources()
Returns the array of component DataSources that are corresponding to
  the array this.componentInfos[]. 
 | 
int[][] | 
getComponentFieldIDs()
Returns the array of componentFieldNumbers for each ComponentInfo's
  FieldIDMapper. 
 | 
ComponentInfo[] | 
getComponentInfos()
Returns the reference to the array this.componentInfos[]. 
 | 
ISBounds[] | 
getCompositeBounds()
Returns the array of destination ISBoundses corresponding to the 
  array this.componentInfos[]. 
 | 
int[][] | 
getCompositeFieldIDs()
Returns the array of compositeFieldNumbers for each ComponentInfo's
  FieldIDMapper. 
 | 
FieldIDMapper[] | 
getFIDMappers()
Returns the array of FieldIDMappers that are corresponding to
  the array this.componentInfos[]. 
 | 
protected abstract void | 
initializeComponents(ComponentInfo[] cpnInfo)  | 
static void | 
main(java.lang.String[] args)  | 
java.lang.String | 
toString()
Print the data members of the DataSource in an easy to read fashion. 
 | 
void | 
useBytesOnly()
When this method is called, the subblock methods of this collection will 
  read data as bytes, without performing any type conversion. 
 | 
checkActivated, 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, 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, subblock, subblock, subblock, volumeprotected ComponentInfo[] componentInfos
public CompositeDataSource(java.lang.String aname,
                   ComponentInfo[] cinfo)
protected abstract void initializeComponents(ComponentInfo[] cpnInfo)
protected abstract boolean check(ComponentInfo[] cpnInfo)
public ComponentInfo[] getComponentInfos()
public void useBytesOnly()
useBytesOnly in class DataCollectionpublic void activate()
activate in class DataSourcepublic void deactivate()
deactivate in class DataSourcepublic DataSource[] getComponentDataSources()
public FieldIDMapper[] getFIDMappers()
public int[][] getComponentFieldIDs()
public int[][] getCompositeFieldIDs()
public ISBounds[] getComponentBounds()
public ISBounds[] getCompositeBounds()
public boolean equals(java.lang.Object obj)
equals in class DataSourcepublic java.lang.String toString()
toString in class DataSourcepublic static void main(java.lang.String[] args)