public class VariableWidthBlock extends AbstractVariableWidthBlock
type| Constructor and Description |
|---|
VariableWidthBlock(VariableWidthType type,
int positionCount,
io.airlift.slice.Slice slice,
int[] offsets) |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
getOffsets() |
int |
getPositionCount()
Returns the number of positions in this block.
|
protected int |
getPositionOffset(int position) |
protected io.airlift.slice.Slice |
getRawSlice() |
String |
toString() |
appendTo, compareTo, compareTo, compareTo, cursor, equalTo, equalTo, equalTo, getBoolean, getDouble, getEncoding, getLong, getObjectValue, getRegion, getSingleValueBlock, getSizeInBytes, getSlice, getType, hash, isNullpublic VariableWidthBlock(VariableWidthType type, int positionCount, io.airlift.slice.Slice slice, int[] offsets)
protected int[] getOffsets()
getOffsets in class AbstractVariableWidthBlockprotected final int getPositionOffset(int position)
getPositionOffset in class AbstractVariableWidthBlockpublic int getPositionCount()
Blockprotected io.airlift.slice.Slice getRawSlice()
getRawSlice in class AbstractVariableWidthBlockCopyright © 2012-2014. All Rights Reserved.