public class PointOrderBFDS extends BinaryFileDataSource
bufferIterCopy, bufferUpper, dimensions, fChannel, iniOffset, iterCopy, leastSignificantAxis, raFile, recordByteSize, recordNumFields, srcRodByteSize, srcRodSize, steps, tempDatum
BIG_ENDIAN, bufferBounds, bufferDimension, bufferSteps, byteBuffers, directMemoryLimit, endian, LITTLE_ENDIAN, maxBufferSize, maxGapSize, readCounter, readLength, url
fdlDescriptor, isActivated, name, wsName
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
PointOrderBFDS(java.lang.String name,
FDLDescriptor fdl)
Create a BinaryFileDataSource from an fdl
|
PointOrderBFDS(java.lang.String name,
RecordDescriptor recordDesc,
ISBounds theBounds,
AxisOrdering ordering,
java.lang.String URL,
java.nio.ByteOrder endian)
create a PointOrderBFDS, set the initial file offset at 0
|
PointOrderBFDS(java.lang.String name,
RecordDescriptor recordDesc,
ISBounds theBounds,
AxisOrdering ordering,
java.lang.String URL,
java.nio.ByteOrder endian,
int offset)
create a PointOrderBFDS, set the initial file offset at the given value
|
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
equals(java.lang.Object o)
Returns true if this BinaryFileDataSource has the same
pointOrder as the argument BinaryFileDataSource, as
well as meeting inherited criteria for equality.
|
int |
hashCode() |
void |
old_server_subblock(byte[] subSet,
ISBounds inputSrcBounds,
int bytesOffset)
Starting at the position indicated by bytesOffset, fill the byte array with the
the data corresponding to the given ISBounds.
|
protected void |
rsubblock(byte[] subSet,
ISBounds inputSrcBounds)
This function is used by SDBServer, it extracts a byte array from disk
regardless the type of attributes.
|
void |
server_subblock(byte[] bytes,
ISBounds inputSrcBounds,
int bytesoffset) |
protected void |
subBasicBlock(BasicBlock dstBlock,
ISBounds dstBounds,
ISBounds inputSrcBounds)
This subblock method will check if gap between two neighboring rods (in
data storage order) is smaller than the argument seekcost.
|
java.lang.String |
toString()
Print the data members of the DataSource in an easy to read fashion.
|
activate, deactivate, getFileOffset, main, setAxisOrdering, setDatum, setFileOffset
allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, allocateBuffer, deleteBuffer, deleteBuffer, deleteBuffers, getBuffer, getBuffer, getBufferSize, getBufferSize, getByteOrder, getDataFileString, getMaxBufferSize, getReadCounter, getReadLength, getURL, initializeBuffers, isBigEndian, makeBestBuffer, resetReadCounter, setBufferByteOrder, setByteOrder, setMaxBufferSize, setMaxGapSize, subblock, subblock, subblock, toString
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, setMetadataCollection
byteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, 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, setBounds, setRecordDescriptor, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, useBytesOnly, volume
public PointOrderBFDS(java.lang.String name, FDLDescriptor fdl)
name
- fdl
- public PointOrderBFDS(java.lang.String name, RecordDescriptor recordDesc, ISBounds theBounds, AxisOrdering ordering, java.lang.String URL, java.nio.ByteOrder endian)
public PointOrderBFDS(java.lang.String name, RecordDescriptor recordDesc, ISBounds theBounds, AxisOrdering ordering, java.lang.String URL, java.nio.ByteOrder endian, int offset)
public Datum datum(IndexSpaceID did)
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 rsubblock(byte[] subSet, ISBounds inputSrcBounds)
public void old_server_subblock(byte[] subSet, ISBounds inputSrcBounds, int bytesOffset)
public void server_subblock(byte[] bytes, ISBounds inputSrcBounds, int bytesoffset)
protected void subBasicBlock(BasicBlock dstBlock, ISBounds dstBounds, ISBounds inputSrcBounds)
public java.lang.String toString()
toString
in class BinaryFileDataSource
public boolean equals(java.lang.Object o)
equals
in class BinaryFileDataSource
public int hashCode()
hashCode
in class BinaryFileDataSource