public class LazyFixedWidthBlock extends AbstractFixedWidthBlock
fixedSize| Constructor and Description |
|---|
LazyFixedWidthBlock(int fixedSize,
int positionCount,
LazyBlockLoader<LazyFixedWidthBlock> loader) |
| Modifier and Type | Method and Description |
|---|---|
void |
assureLoaded()
Assures that all data for the block is in memory.
|
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) |
void |
setNullVector(boolean[] valueIsNull) |
void |
setRawSlice(io.airlift.slice.Slice slice) |
String |
toString() |
bytesCompare, bytesEqual, checkReadablePosition, compareTo, equals, getByte, getDouble, getEncoding, getFixedSize, getFloat, getInt, getLength, getLong, getShort, getSingleValueBlock, getSlice, hash, isNull, writeBytesTopublic LazyFixedWidthBlock(int fixedSize,
int positionCount,
LazyBlockLoader<LazyFixedWidthBlock> loader)
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)
Blockpublic void assureLoaded()
BlockassureLoaded in interface BlockassureLoaded in class AbstractFixedWidthBlockpublic void setRawSlice(io.airlift.slice.Slice slice)
public void setNullVector(boolean[] valueIsNull)
Copyright © 2012-2015. All Rights Reserved.