public interface BlockBuilder extends Block
| Modifier and Type | Method and Description |
|---|---|
BlockBuilder |
appendBoolean(boolean value)
Appends a boolean value to the block.
|
BlockBuilder |
appendDouble(double value)
Appends a double value to the block.
|
BlockBuilder |
appendLong(long value)
Appends a long value to the block.
|
BlockBuilder |
appendNull()
Appends a null value to the block.
|
BlockBuilder |
appendSlice(io.airlift.slice.Slice value)
Appends a Slice value to the block.
|
BlockBuilder |
appendSlice(io.airlift.slice.Slice value,
int offset,
int length)
Appends a range of a Slice value to the block.
|
Block |
build()
Builds the block.
|
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.
|
appendTo, compareTo, compareTo, compareTo, cursor, equalTo, equalTo, equalTo, getBoolean, getDouble, getEncoding, getLong, getObjectValue, getPositionCount, getRegion, getSingleValueBlock, getSizeInBytes, getSlice, getType, hash, isNullBlockBuilder appendBoolean(boolean value)
BlockBuilder appendLong(long value)
BlockBuilder appendDouble(double value)
BlockBuilder appendSlice(io.airlift.slice.Slice value)
BlockBuilder appendSlice(io.airlift.slice.Slice value, int offset, int length)
BlockBuilder appendNull()
Block build()
boolean isEmpty()
boolean isFull()
Copyright © 2012-2014. All Rights Reserved.