Package org.apache.hadoop.hbase.io.hfile
Class HFileBlockBuilder
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlockBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate ByteBuffAllocator
private BlockType
private ByteBuff
private HFileContext
private boolean
private boolean
private int
private long
private int
private int
private long
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withBlockType
(BlockType blockType) withByteBuff
(ByteBuff buf) withByteBuffAllocator
(ByteBuffAllocator allocator) withFillHeader
(boolean fillHeader) withHFileContext
(HFileContext fileContext) withNextBlockOnDiskSize
(int nextBlockOnDiskSize) withOffset
(long offset) withOnDiskDataSizeWithHeader
(int onDiskDataSizeWithHeader) withOnDiskSizeWithoutHeader
(int onDiskSizeWithoutHeader) withPrevBlockOffset
(long prevBlockOffset) withShared
(boolean isShared) withUncompressedSizeWithoutHeader
(int uncompressedSizeWithoutHeader)
-
Field Details
-
blockType
-
onDiskSizeWithoutHeader
-
onDiskDataSizeWithHeader
-
uncompressedSizeWithoutHeader
-
prevBlockOffset
-
buf
-
fillHeader
-
offset
-
nextBlockOnDiskSize
-
fileContext
-
allocator
-
-
Constructor Details
-
HFileBlockBuilder
public HFileBlockBuilder()
-
-
Method Details
-
withBlockType
-
withOnDiskSizeWithoutHeader
-
withOnDiskDataSizeWithHeader
-
withUncompressedSizeWithoutHeader
-
withPrevBlockOffset
-
withByteBuff
-
withFillHeader
-
withOffset
-
withNextBlockOnDiskSize
-
withHFileContext
-
withByteBuffAllocator
-
build
-