public class RemoteBFDS extends PhysicalDataSource
BIG_ENDIAN, bufferBounds, bufferDimension, bufferSteps, byteBuffers, directMemoryLimit, endian, LITTLE_ENDIAN, maxBufferSize, maxGapSize, readCounter, readLength, urlfdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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, setByteOrder, setMaxBufferSize, setMaxGapSize, subblock, subblock, subblock, toString, toStringcheckActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, setMetadataCollectionbyteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, datum, dim, getAttributeNames, getAxisOrdering, getAxisWeight, getAxisWeights, getBounds, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytesByAttribute, getBytesByAttribute, getBytesByPoint, getBytesByPoint, getDataOrder, getDimensionsArray, getDouble, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesByAttribute, getDoublesByAttribute, getDoublesByPoint, getDoublesByPoint, getFloat, getFloats, getFloats, getFloats, getFloats, getFloats, getFloats, getFloatsByAttribute, getFloatsByAttribute, getFloatsByPoint, getFloatsByPoint, getInt, getInts, getInts, getInts, getInts, getInts, getInts, getIntsByAttribute, getIntsByAttribute, getIntsByPoint, getIntsByPoint, getLowerBoundsArray, getNumAttributes, getRecordDescriptor, getShort, getShorts, getShorts, getShorts, getShorts, getShorts, getShorts, getShortsByAttribute, getShortsByAttribute, getShortsByPoint, getShortsByPoint, getStorageType, getUpperBoundsArray, getValues, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volumepublic RemoteBFDS(java.lang.String name,
RecordDescriptor recordDesc,
ISBounds theBounds,
AxisOrdering ordering,
java.lang.String URL,
java.lang.String serverURL)
public void setFileServer(java.lang.String serverURL)
public void init()
public void activate()
activate in class DataSourcepublic void setRemoteDataSource(java.lang.String xmlFile,
java.lang.String dsName)
public Datum datum(IndexSpaceID did)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum datum, IndexSpaceID did)
DataCollectiondatum in interface Indexabledatum in class DataCollectionpublic void datum(Datum datum, IndexSpaceID did, RecordSpec recSpec)
datum in interface Indexabledatum in class DataCollectionpublic void datum(Datum datum, IndexSpaceID did, FieldIDMapper mp)
datum in interface Indexabledatum in class DataCollectionpublic Datum datum(IndexSpaceID did, RecordSpec spec)
datum in interface Indexabledatum in class DataCollectionprotected void subBasicBlock(BasicBlock dstBlock, ISBounds dstBounds, ISBounds srcBounds)
public long transmitTime()
public static void main(java.lang.String[] args)