public interface BlockBuilder extends Block
| Modifier and Type | Method and Description |
|---|---|
BlockBuilder |
appendNull()
Appends a null value to the block.
|
default BlockBuilder |
beginBlockEntry()
Return a writer to the current entry.
|
Block |
build()
Builds the block.
|
BlockBuilder |
closeEntry()
Write a byte to the current entry;
|
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;
|
default BlockBuilder |
writeObject(Object value)
Write an object to the current entry;
|
BlockBuilder |
writeShort(int value)
Write a short to the current entry;
|
assureLoaded, bytesCompare, bytesEqual, compareTo, copyPositions, copyRegion, equals, getByte, getDouble, getEncoding, getFloat, getInt, getLength, getLong, getObject, getPositionCount, getRegion, getRetainedSizeInBytes, getShort, getSingleValueBlock, getSizeInBytes, getSlice, hash, isNull, writeBytesTo, writePositionToBlockBuilder 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)
default BlockBuilder writeObject(Object value)
default BlockBuilder beginBlockEntry()
BlockBuilder closeEntry()
BlockBuilder appendNull()
Block build()
Copyright © 2012-2016. All Rights Reserved.