Package org.apache.hadoop.hbase.io.hfile
Class HFileBlockBuilder
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlockBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBuffAllocatorprivate BlockTypeprivate ByteBuffprivate HFileContextprivate booleanprivate booleanprivate intprivate longprivate intprivate intprivate longprivate int -
Constructor Summary
Constructors -
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
-