public class LazyArrayBlock extends AbstractArrayBlock
| Constructor and Description |
|---|
LazyArrayBlock(LazyBlockLoader<LazyArrayBlock> loader) |
| Modifier and Type | Method and Description |
|---|---|
void |
assureLoaded()
Assures that all data for the block is in memory.
|
void |
copyFromBlock(Block block) |
protected int |
getOffsetBase() |
protected io.airlift.slice.Slice |
getOffsets() |
int |
getPositionCount()
Returns the number of positions in this block.
|
int |
getRetainedSizeInBytes()
Returns the retained size of this block in memory.
|
int |
getSizeInBytes()
Returns the logical size of this block in memory.
|
protected io.airlift.slice.Slice |
getValueIsNull() |
protected Block |
getValues() |
String |
toString() |
bytesCompare, bytesEqual, compareTo, copyPositions, copyRegion, equals, getByte, getDouble, getEncoding, getFloat, getInt, getLength, getLong, getObject, getRegion, getShort, getSingleValueBlock, getSlice, hash, isNull, writeBytesTo, writePositionTopublic LazyArrayBlock(LazyBlockLoader<LazyArrayBlock> loader)
public int getPositionCount()
Blockprotected Block getValues()
getValues in class AbstractArrayBlockprotected io.airlift.slice.Slice getOffsets()
getOffsets in class AbstractArrayBlockprotected int getOffsetBase()
getOffsetBase in class AbstractArrayBlockprotected io.airlift.slice.Slice getValueIsNull()
getValueIsNull in class AbstractArrayBlockpublic void assureLoaded()
BlockThis allows streaming data sources to skip sections that are not accessed in a query.
public void copyFromBlock(Block block)
public int getSizeInBytes()
Blockpublic int getRetainedSizeInBytes()
BlockCopyright © 2012-2016. All Rights Reserved.