public class ByteBufferDurableInput extends java.lang.Object implements DurableInput
| Constructor and Description |
|---|
ByteBufferDurableInput(java.lang.Iterable<java.nio.ByteBuffer> buffers) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
position() |
int |
read(java.nio.ByteBuffer dst) |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
long |
remaining() |
void |
seek(long position) |
DurableInput |
slice(long start,
long end) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasInputStream, from, readBoolean, readFully, readFully, readLine, readPrefix, readUnsignedByte, readUnsignedShort, readUTF, readVLQ, size, skipBlock, skipBytes, skipBytes, sliceNextpublic ByteBufferDurableInput(java.lang.Iterable<java.nio.ByteBuffer> buffers)
public DurableInput slice(long start, long end)
slice in interface DurableInputpublic void seek(long position)
seek in interface DurableInputpublic long remaining()
remaining in interface DurableInputpublic long position()
position in interface DurableInputpublic int read(java.nio.ByteBuffer dst)
read in interface DurableInputpublic void close()
close in interface DurableInputclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic byte readByte()
readByte in interface DurableInputreadByte in interface java.io.DataInputpublic short readShort()
readShort in interface DurableInputreadShort in interface java.io.DataInputpublic char readChar()
readChar in interface DurableInputreadChar in interface java.io.DataInputpublic int readInt()
readInt in interface DurableInputreadInt in interface java.io.DataInputpublic long readLong()
readLong in interface DurableInputreadLong in interface java.io.DataInputpublic float readFloat()
readFloat in interface DurableInputreadFloat in interface java.io.DataInputpublic double readDouble()
readDouble in interface DurableInputreadDouble in interface java.io.DataInput