|
|||||||||
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.PhysicalDataSource
edu.unh.sdb.datasource.RemoteBFDS
public class RemoteBFDS
This class will read data from a remote datasource
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.PhysicalDataSource |
---|
BIG_ENDIAN, bufferBounds, bufferDimension, bufferSteps, byteBuffers, directMemoryLimit, endian, LITTLE_ENDIAN, maxBufferSize, maxGapSize, readCounter, readLength, url |
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 | |
---|---|
RemoteBFDS(java.lang.String name,
RecordDescriptor recordDesc,
ISBounds theBounds,
AxisOrdering ordering,
java.lang.String URL,
java.lang.String serverURL)
crate a RemoteBFDS, set the initial file offset at 0 |
Method Summary | |
---|---|
void |
activate()
Open the binary data file for this datasource. |
void |
datum(Datum datum,
IndexSpaceID did)
Given an IndexSpaceID, copy the values of the Datum at that position to the argument Datum. |
void |
datum(Datum datum,
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 datum,
IndexSpaceID did,
RecordSpec recSpec)
Get the Datum and fill its values in the passed Datum at positions specified by the corresponding RecordSpec. |
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 |
init()
|
static void |
main(java.lang.String[] args)
|
void |
setFileServer(java.lang.String serverURL)
Set remote file server specified by the argument string. |
void |
setRemoteDataSource(java.lang.String xmlFile,
java.lang.String dsName)
set the xml file for the remote datasource |
protected void |
subBasicBlock(BasicBlock dstBlock,
ISBounds dstBounds,
ISBounds srcBounds)
this method will invoke remote datasource server extract data from the disk, and push it into the java socket |
long |
transmitTime()
|
Methods inherited from class edu.unh.sdb.datasource.PhysicalDataSource |
---|
allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, deactivate, deleteBuffer, deleteBuffer, deleteBuffers, equals, getBuffer, getBuffer, getBufferSize, getBufferSize, getByteOrder, getDataFileString, getMaxBufferSize, getReadCounter, getReadLength, getURL, initializeBuffers, isBigEndian, makeBestBuffer, resetReadCounter, setBufferByteOrder, setMaxBufferSize, setMaxGapSize, subblock, subblock, subblock, toString, toString |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteBFDS(java.lang.String name, RecordDescriptor recordDesc, ISBounds theBounds, AxisOrdering ordering, java.lang.String URL, java.lang.String serverURL)
Method Detail |
---|
public void setFileServer(java.lang.String serverURL)
public void init()
public void activate()
activate
in class DataSource
public void setRemoteDataSource(java.lang.String xmlFile, java.lang.String dsName)
public Datum datum(IndexSpaceID did)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum datum, IndexSpaceID did)
DataCollection
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum datum, IndexSpaceID did, RecordSpec recSpec)
datum
in interface Indexable
datum
in class DataCollection
public void datum(Datum datum, IndexSpaceID did, FieldIDMapper mp)
datum
in interface Indexable
datum
in class DataCollection
public Datum datum(IndexSpaceID did, RecordSpec spec)
datum
in interface Indexable
datum
in class DataCollection
protected void subBasicBlock(BasicBlock dstBlock, ISBounds dstBounds, ISBounds srcBounds)
public long transmitTime()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |