public class FixedWidthBlock extends AbstractFixedWidthBlock
fixedSize| Constructor and Description |
|---|
FixedWidthBlock(int fixedSize,
int positionCount,
io.airlift.slice.Slice slice,
boolean[] valueIsNull) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPositionCount()
Returns the number of positions in this block.
|
protected io.airlift.slice.Slice |
getRawSlice() |
Block |
getRegion(int positionOffset,
int length)
Returns a block starting at the specified position and extends for the
specified length.
|
int |
getSizeInBytes()
Returns the size of this block in memory.
|
protected boolean |
isEntryNull(int position) |
String |
toString() |
assureLoaded, bytesCompare, bytesEqual, checkReadablePosition, compareTo, equals, getByte, getDouble, getEncoding, getFixedSize, getFloat, getInt, getLength, getLong, getShort, getSingleValueBlock, getSlice, hash, isNull, writeBytesTopublic FixedWidthBlock(int fixedSize,
int positionCount,
io.airlift.slice.Slice slice,
boolean[] valueIsNull)
protected io.airlift.slice.Slice getRawSlice()
getRawSlice in class AbstractFixedWidthBlockprotected boolean isEntryNull(int position)
isEntryNull in class AbstractFixedWidthBlockpublic int getPositionCount()
Blockpublic int getSizeInBytes()
Blockpublic Block getRegion(int positionOffset, int length)
BlockCopyright © 2012-2014. All Rights Reserved.