public static class CompressedChunkReader.Standard extends CompressedChunkReader
CompressedChunkReader.Mmap, CompressedChunkReader.Standardchannel, fileLength| Constructor and Description |
|---|
Standard(ChannelProxy channel,
CompressionMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocateBuffer() |
java.nio.ByteBuffer |
allocateBuffer(int size) |
void |
readChunk(long position,
java.nio.ByteBuffer uncompressed)
Read the chunk at the given position, attempting to fill the capacity of the given buffer.
|
chunkSize, getCrcCheckChance, instantiateRebufferer, preferredBufferType, shouldCheckCrc, toStringchannel, close, fileLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchannel, close, fileLengthpublic Standard(ChannelProxy channel, CompressionMetadata metadata)
public java.nio.ByteBuffer allocateBuffer()
public java.nio.ByteBuffer allocateBuffer(int size)
public void readChunk(long position,
java.nio.ByteBuffer uncompressed)
ChunkReaderCopyright © 2018 The Apache Software Foundation