public interface BlockBuilder extends Block
| Modifier and Type | Method and Description |
|---|---|
BlockBuilder |
appendNull()
Appends a null value to the block.
|
Block |
build()
Builds the block.
|
BlockBuilder |
closeEntry()
Write a byte to the current entry;
|
boolean |
isEmpty()
Have any values been added to the block?
|
boolean |
isFull()
Is this block full? If true no more values should be added to the block.
|
BlockBuilder |
writeByte(int value)
Write a byte to the current entry;
|
BlockBuilder |
writeBytes(io.airlift.slice.Slice source,
int sourceIndex,
int length)
Write a byte sequences to the current entry;
|
BlockBuilder |
writeDouble(double value)
Write a double to the current entry;
|
BlockBuilder |
writeFloat(float v)
Write a float to the current entry;
|
BlockBuilder |
writeInt(int value)
Write a int to the current entry;
|
BlockBuilder |
writeLong(long value)
Write a long to the current entry;
|
BlockBuilder |
writeShort(int value)
Write a short to the current entry;
|
assureLoaded, bytesCompare, bytesEqual, compareTo, equals, getByte, getDouble, getEncoding, getFloat, getInt, getLength, getLong, getPositionCount, getRegion, getShort, getSingleValueBlock, getSizeInBytes, getSlice, hash, isNull, writeBytesToBlockBuilder writeByte(int value)
BlockBuilder writeShort(int value)
BlockBuilder writeInt(int value)
BlockBuilder writeLong(long value)
BlockBuilder writeFloat(float v)
BlockBuilder writeDouble(double value)
BlockBuilder writeBytes(io.airlift.slice.Slice source, int sourceIndex, int length)
BlockBuilder closeEntry()
BlockBuilder appendNull()
Block build()
boolean isEmpty()
boolean isFull()
Copyright © 2012-2015. All Rights Reserved.