|
|||||||||
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.ForeignReferenceDataSource
public class ForeignReferenceDataSource
Field Summary | |
---|---|
protected java.lang.String |
dbName
|
protected DataSource |
referent
|
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 | |
---|---|
ForeignReferenceDataSource(java.lang.String name,
java.lang.String dbName,
DataSource referent)
|
Method Summary | |
---|---|
void |
activate()
The DataSource will perform any initialization required in order to begin reading/processing data. |
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. |
void |
deactivate()
The DataSource will release any resources used during the readling or processing of data. |
java.lang.String |
getDBName()
|
java.lang.String |
getName()
Returns the name of this DataSource object. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
FieldIDMapper mp)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
void |
subblock(DataBlock theBlock,
ISBounds dstBounds,
ISBounds srcBounds,
RecordSpec spec)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds. |
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, getValues, isActivated, main, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String dbName
protected DataSource referent
Constructor Detail |
---|
public ForeignReferenceDataSource(java.lang.String name, java.lang.String dbName, DataSource referent)
Method Detail |
---|
public java.lang.String getName()
DataSource
getName
in class DataSource
public java.lang.String getDBName()
public void activate()
DataSource
activate
in class DataSource
public void deactivate()
deactivate
in class DataSource
public void datum(Datum dtm, IndexSpaceID did)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum dtm, IndexSpaceID did, FieldIDMapper mp)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum dtm, IndexSpaceID did, RecordSpec recSpec)
datum
in interface Indexable
datum
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds)
DataCollection
subblock
in interface Indexable
subblock
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, FieldIDMapper mp)
DataCollection
subblock
in interface Indexable
subblock
in class DataCollection
public void subblock(DataBlock theBlock, ISBounds dstBounds, ISBounds srcBounds, RecordSpec spec)
DataCollection
subblock
in interface Indexable
subblock
in class DataCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |