comparator, fileChannel, indexBlock, metaindexBlockHandle, name, uncompressedScratch, verifyChecksums
Constructor and Description |
---|
MMapTable(String name,
FileChannel fileChannel,
Comparator<Slice> comparator,
boolean verifyChecksums) |
Modifier and Type | Method and Description |
---|---|
Callable<?> |
closer() |
protected Footer |
init() |
static ByteBuffer |
read(MappedByteBuffer data,
int offset,
int length) |
protected Block |
readBlock(BlockHandle blockHandle) |
getApproximateOffsetOf, iterator, openBlock, toString, uncompressedLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MMapTable(String name, FileChannel fileChannel, Comparator<Slice> comparator, boolean verifyChecksums) throws IOException
IOException
protected Footer init() throws IOException
init
in class Table
IOException
protected Block readBlock(BlockHandle blockHandle) throws IOException
readBlock
in class Table
IOException
public static ByteBuffer read(MappedByteBuffer data, int offset, int length) throws IOException
IOException
Copyright © 2011–2019. All rights reserved.