|
|||||||||
| 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
edu.unh.sdb.datasource.BlockedDataSource
public class BlockedDataSource
BlockedDataSource does a spatial join on several blocks of DataSources into one DataSource
| Field Summary |
|---|
| Fields inherited from class edu.unh.sdb.datasource.CompositeDataSource |
|---|
componentInfos |
| 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 | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class edu.unh.sdb.datasource.CompositeDataSource |
|---|
deactivate, equals, getComponentBounds, getComponentDataSources, getComponentFieldIDs, getComponentInfos, getCompositeBounds, getCompositeFieldIDs, getFIDMappers |
| 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 |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
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 CompositeDataSource
public void subblock(DataBlock blk,
ISBounds blkisb,
ISBounds dsisb,
RecordSpec spec)
subblock in interface Indexablesubblock in class DataCollection
public void subblock(DataBlock blk,
ISBounds blkisb,
ISBounds dsisb)
subblock in interface Indexablesubblock in class DataCollection
public void subblock(DataBlock blk,
ISBounds blkisb,
ISBounds dsisb,
FieldIDMapper mp)
subblock in interface Indexablesubblock in class DataCollection
public DataBlock subblock(ISBounds blk,
ISBounds resolution)
public void datum(Datum dtm,
IndexSpaceID isid)
datum in interface Indexabledatum in class DataCollection
public void datum(Datum dtm,
IndexSpaceID isid,
FieldIDMapper mp)
datum in interface Indexabledatum in class DataCollection
public void datum(Datum dtm,
IndexSpaceID isid,
RecordSpec recSpec)
datum in interface Indexabledatum in class DataCollectionpublic ARBlock ARRep(ISBounds bounds)
public java.lang.String toString()
CompositeDataSource
toString in class CompositeDataSourcepublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||