| Constructor and Description |
|---|
GroupByIdBlock(long groupCount,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
int |
bytesCompare(int position,
int offset,
int length,
io.airlift.slice.Slice otherSlice,
int otherOffset,
int otherLength) |
boolean |
bytesEqual(int position,
int offset,
io.airlift.slice.Slice otherSlice,
int otherOffset,
int length) |
int |
compareTo(int leftPosition,
int leftOffset,
int leftLength,
Block rightBlock,
int rightPosition,
int rightOffset,
int rightLength) |
Block |
copyPositions(int[] positions,
int offset,
int length) |
Block |
copyRegion(int positionOffset,
int length) |
boolean |
equals(int position,
int offset,
Block otherBlock,
int otherPosition,
int otherOffset,
int length) |
byte |
getByte(int position,
int offset) |
String |
getEncodingName() |
long |
getEstimatedDataSizeForStats(int position) |
long |
getGroupCount() |
long |
getGroupId(int position) |
int |
getInt(int position,
int offset) |
Block |
getLoadedBlock() |
long |
getLong(int position,
int offset) |
<T> T |
getObject(int position,
Class<T> clazz) |
int |
getPositionCount() |
long |
getPositionsSizeInBytes(boolean[] positions) |
Block |
getRegion(int positionOffset,
int length) |
long |
getRegionSizeInBytes(int positionOffset,
int length) |
long |
getRetainedSizeInBytes() |
short |
getShort(int position,
int offset) |
Block |
getSingleValueBlock(int position) |
long |
getSizeInBytes() |
io.airlift.slice.Slice |
getSlice(int position,
int offset,
int length) |
int |
getSliceLength(int position) |
long |
hash(int position,
int offset,
int length) |
boolean |
isNull(int position) |
void |
retainedBytesForEachPart(BiConsumer<Object,Long> consumer) |
String |
toString() |
void |
writeBytesTo(int position,
int offset,
int length,
BlockBuilder blockBuilder) |
void |
writePositionTo(int position,
BlockBuilder blockBuilder) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLogicalSizeInBytes, getPositions, mayHaveNullpublic GroupByIdBlock(long groupCount,
Block block)
public long getGroupCount()
public long getGroupId(int position)
public Block getRegion(int positionOffset, int length)
public long getRegionSizeInBytes(int positionOffset,
int length)
getRegionSizeInBytes in interface Blockpublic long getPositionsSizeInBytes(boolean[] positions)
getPositionsSizeInBytes in interface Blockpublic Block copyRegion(int positionOffset, int length)
copyRegion in interface Blockpublic int getSliceLength(int position)
getSliceLength in interface Blockpublic io.airlift.slice.Slice getSlice(int position,
int offset,
int length)
public <T> T getObject(int position,
Class<T> clazz)
public boolean bytesEqual(int position,
int offset,
io.airlift.slice.Slice otherSlice,
int otherOffset,
int length)
bytesEqual in interface Blockpublic int bytesCompare(int position,
int offset,
int length,
io.airlift.slice.Slice otherSlice,
int otherOffset,
int otherLength)
bytesCompare in interface Blockpublic void writeBytesTo(int position,
int offset,
int length,
BlockBuilder blockBuilder)
writeBytesTo in interface Blockpublic void writePositionTo(int position,
BlockBuilder blockBuilder)
writePositionTo in interface Blockpublic boolean equals(int position,
int offset,
Block otherBlock,
int otherPosition,
int otherOffset,
int length)
public int compareTo(int leftPosition,
int leftOffset,
int leftLength,
Block rightBlock,
int rightPosition,
int rightOffset,
int rightLength)
public Block getSingleValueBlock(int position)
getSingleValueBlock in interface Blockpublic int getPositionCount()
getPositionCount in interface Blockpublic long getSizeInBytes()
getSizeInBytes in interface Blockpublic long getRetainedSizeInBytes()
getRetainedSizeInBytes in interface Blockpublic long getEstimatedDataSizeForStats(int position)
getEstimatedDataSizeForStats in interface Blockpublic void retainedBytesForEachPart(BiConsumer<Object,Long> consumer)
retainedBytesForEachPart in interface Blockpublic String getEncodingName()
getEncodingName in interface Blockpublic Block copyPositions(int[] positions, int offset, int length)
copyPositions in interface Blockpublic Block getLoadedBlock()
getLoadedBlock in interface BlockCopyright © 2012–2019. All rights reserved.