| 
|||||||||
| 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.CellDataSource
edu.unh.sdb.datasource.RegCellDataSource
public class RegCellDataSource
| Field Summary | 
|---|
| 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 | |
|---|---|
RegCellDataSource(DataSource ds)
Constructor sets all data members to copies of the corresponding members from a point DataSource corresponding to this cell data source.  | 
|
| Method Summary | |
|---|---|
 void | 
activate()
The DataSource will perform any initialization required in order to begin reading/processing data.  | 
 void | 
datum(Datum dtm,
      IndexSpaceID did)
PBR: Return by reference the Datum corresponding to the given IndexSpaceID.  | 
 void | 
datum(Datum dtm,
      IndexSpaceID did,
      FieldIDMapper mp)
PBR: Return by reference the Datum corresponding to the given IndexSpaceID.  | 
 void | 
datum(Datum dtm,
      IndexSpaceID did,
      RecordSpec recSpec)
PBR: Return by reference the Datum corresponding to the given IndexSpaceID.  | 
 Datum | 
datum(IndexSpaceID did)
Return the Datum corresponding to the given IndexSpaceID.  | 
 Datum | 
datum(IndexSpaceID did,
      RecordSpec spec)
Return the Datum corresponding to the given IndexSpaceID.  | 
 void | 
deactivate()
The DataSource will release any resources used during the readling or processing of data.  | 
 Cell | 
getCell(IndexSpaceID cellISID)
Get a cell in the cell data source  | 
 DataBlock | 
getCellData(IndexSpaceID cellISID)
Get the point block of a cell  | 
 Datum[] | 
getCornerDatums(IndexSpaceID cellISID)
Get the datums of the corners in a cell  | 
 IndexSpaceID[] | 
getCorners(IndexSpaceID cellISID)
Get the corners of a cell  | 
 DimResolution | 
getDimResolution()
Get the dimensional resolution  | 
 int[] | 
getPath()
Get the path of an uniform region cell datasource in a ARRS tree  | 
 DataSource | 
getPointDS()
Get the point data source relative to a cell data souce  | 
 void | 
setDimResolution(DimResolution resolution)
Set the resolution  | 
 void | 
setPath(int[] path)
Set the path of an uniform cell datasource in a ARRS tree  | 
 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 rs)
Reads a subblock defined by srcBounds into the region of the Datablock argument defined by dstBounds.  | 
 DataBlock | 
subblock(ISBounds db)
Return a new DataBlock that is a subset of this datablock.  | 
 java.lang.String | 
toString()
Return a String representing the object.  | 
 java.lang.String | 
toString(java.lang.String indent)
Return a String representing the object indented by the argument string.  | 
 void | 
urCellBlock(DataBlock ublock,
            ISBounds b,
            ISBounds res)
Return a cell block with the specified resolution and the specified bounds  | 
| 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, getName, getValues, isActivated, main | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface edu.unh.sdb.datasource.Indexable | 
|---|
copyBounds, dim, getBounds, getNumAttributes, getRecordDescriptor, subblock, subblock | 
| Constructor Detail | 
|---|
public RegCellDataSource(DataSource ds)
| Method Detail | 
|---|
public void activate()
activate in class DataSourcepublic DataSource getPointDS()
public void setDimResolution(DimResolution resolution)
public void setPath(int[] path)
public int[] getPath()
public DimResolution getDimResolution()
public IndexSpaceID[] getCorners(IndexSpaceID cellISID)
public Datum[] getCornerDatums(IndexSpaceID cellISID)
public DataBlock getCellData(IndexSpaceID cellISID)
public Cell getCell(IndexSpaceID cellISID)
public void deactivate()
deactivate in class DataSourcepublic Datum datum(IndexSpaceID did)
datum in interface Indexabledatum in class DataCollection
public Datum datum(IndexSpaceID did,
                   RecordSpec spec)
datum in interface Indexabledatum in class DataCollection
public void datum(Datum dtm,
                  IndexSpaceID did)
datum in interface Indexabledatum in class DataCollection
public void datum(Datum dtm,
                  IndexSpaceID did,
                  FieldIDMapper mp)
datum in interface Indexabledatum in class DataCollection
public void datum(Datum dtm,
                  IndexSpaceID did,
                  RecordSpec recSpec)
datum in interface Indexabledatum in class DataCollectionpublic DataBlock subblock(ISBounds db)
subblock in interface Indexablesubblock in class DataCollection
public void subblock(DataBlock theBlock,
                     ISBounds dstBounds,
                     ISBounds srcBounds)
subblock in interface Indexablesubblock in class DataCollection
public void subblock(DataBlock theBlock,
                     ISBounds dstBounds,
                     ISBounds srcBounds,
                     FieldIDMapper mp)
DataCollection
subblock in interface Indexablesubblock in class DataCollection
public void subblock(DataBlock theBlock,
                     ISBounds dstBounds,
                     ISBounds srcBounds,
                     RecordSpec rs)
DataCollection
subblock in interface Indexablesubblock in class DataCollection
public void urCellBlock(DataBlock ublock,
                        ISBounds b,
                        ISBounds res)
urCellBlock in interface CellIndexablepublic java.lang.String toString()
toString in class DataSourcepublic java.lang.String toString(java.lang.String indent)
toString in class DataSource
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||