|
|||||||||
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.CompositeDataSource
public abstract class CompositeDataSource
This class is a parent class for AttributeJoinDataSoure and BlockedDataSource. It provides access methods concerned with arrays of ComponentInfo objects.
Field Summary | |
---|---|
protected ComponentInfo[] |
componentInfos
Information for every component. |
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 | |
---|---|
CompositeDataSource(java.lang.String aname,
ComponentInfo[] cinfo)
Create a CompositeDataSource defined by the ComponentInfo array. |
Method Summary | |
---|---|
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. |
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, getName, getValues, isActivated, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ComponentInfo[] componentInfos
Constructor Detail |
---|
public CompositeDataSource(java.lang.String aname, ComponentInfo[] cinfo)
Method Detail |
---|
protected abstract void initializeComponents(ComponentInfo[] cpnInfo)
protected abstract boolean check(ComponentInfo[] cpnInfo)
public ComponentInfo[] getComponentInfos()
public void activate()
activate
in class DataSource
public void deactivate()
deactivate
in class DataSource
public 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 DataSource
public java.lang.String toString()
toString
in class DataSource
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |