@InterfaceAudience.Private public class HFileBlockBuilder extends Object
| Constructor and Description |
|---|
HFileBlockBuilder() |
| Modifier and Type | Method and Description |
|---|---|
HFileBlock |
build() |
HFileBlockBuilder |
withBlockType(BlockType blockType) |
HFileBlockBuilder |
withByteBuff(ByteBuff buf) |
HFileBlockBuilder |
withByteBuffAllocator(ByteBuffAllocator allocator) |
HFileBlockBuilder |
withFillHeader(boolean fillHeader) |
HFileBlockBuilder |
withHFileContext(HFileContext fileContext) |
HFileBlockBuilder |
withNextBlockOnDiskSize(int nextBlockOnDiskSize) |
HFileBlockBuilder |
withOffset(long offset) |
HFileBlockBuilder |
withOnDiskDataSizeWithHeader(int onDiskDataSizeWithHeader) |
HFileBlockBuilder |
withOnDiskSizeWithoutHeader(int onDiskSizeWithoutHeader) |
HFileBlockBuilder |
withPrevBlockOffset(long prevBlockOffset) |
HFileBlockBuilder |
withShared(boolean isShared) |
HFileBlockBuilder |
withUncompressedSizeWithoutHeader(int uncompressedSizeWithoutHeader) |
public HFileBlockBuilder withBlockType(BlockType blockType)
public HFileBlockBuilder withOnDiskSizeWithoutHeader(int onDiskSizeWithoutHeader)
public HFileBlockBuilder withOnDiskDataSizeWithHeader(int onDiskDataSizeWithHeader)
public HFileBlockBuilder withUncompressedSizeWithoutHeader(int uncompressedSizeWithoutHeader)
public HFileBlockBuilder withPrevBlockOffset(long prevBlockOffset)
public HFileBlockBuilder withByteBuff(ByteBuff buf)
public HFileBlockBuilder withFillHeader(boolean fillHeader)
public HFileBlockBuilder withOffset(long offset)
public HFileBlockBuilder withNextBlockOnDiskSize(int nextBlockOnDiskSize)
public HFileBlockBuilder withHFileContext(HFileContext fileContext)
public HFileBlockBuilder withByteBuffAllocator(ByteBuffAllocator allocator)
public HFileBlockBuilder withShared(boolean isShared)
public HFileBlock build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.