public interface IFixedDataRecord extends IDataRecord
IDataRecord.
Note: These methods are isolated on this interface to prevent confusion with
the stream-based semantics of the ByteArrayBuffer.
| Modifier and Type | Method and Description |
|---|---|
DataInputBuffer |
getDataInput()
Return an input stream that will read from the slice.
|
InputBitStream |
getInputBitStream()
Return a bit stream that will read from the slice.
|
void |
writeOn(DataOutput out)
Write the slice on the output stream.
|
void |
writeOn(OutputStream os)
Write the slice on the output stream.
|
void |
writeOn(OutputStream os,
int aoff,
int alen)
Write part of the slice on the output stream.
|
asByteBuffer, get, get, getBit, getByte, getDouble, getFloat, getInt, getLong, getShort, put, put, putByte, putDouble, putFloat, putInt, putLong, putShort, setBit, slicearray, len, off, toByteArrayDataInputBuffer getDataInput()
InputBitStream getInputBitStream()
Note: You DO NOT need to close this stream since it is backed by a
byte[]. In fact, InputBitStream.close() when backed by a byte[]
appears to have relatively high overhead, which is weird.
void writeOn(OutputStream os) throws IOException
os - The output stream.IOExceptionvoid writeOn(DataOutput out) throws IOException
os - The output stream.IOExceptionvoid writeOn(OutputStream os, int aoff, int alen) throws IOException
os - The output stream.IOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.