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, wait
getLogicalSizeInBytes, getPositions, mayHaveNull
public 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 Block
public long getPositionsSizeInBytes(boolean[] positions)
getPositionsSizeInBytes
in interface Block
public Block copyRegion(int positionOffset, int length)
copyRegion
in interface Block
public int getSliceLength(int position)
getSliceLength
in interface Block
public 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 Block
public int bytesCompare(int position, int offset, int length, io.airlift.slice.Slice otherSlice, int otherOffset, int otherLength)
bytesCompare
in interface Block
public void writeBytesTo(int position, int offset, int length, BlockBuilder blockBuilder)
writeBytesTo
in interface Block
public void writePositionTo(int position, BlockBuilder blockBuilder)
writePositionTo
in interface Block
public 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 Block
public int getPositionCount()
getPositionCount
in interface Block
public long getSizeInBytes()
getSizeInBytes
in interface Block
public long getRetainedSizeInBytes()
getRetainedSizeInBytes
in interface Block
public long getEstimatedDataSizeForStats(int position)
getEstimatedDataSizeForStats
in interface Block
public void retainedBytesForEachPart(BiConsumer<Object,Long> consumer)
retainedBytesForEachPart
in interface Block
public String getEncodingName()
getEncodingName
in interface Block
public Block copyPositions(int[] positions, int offset, int length)
copyPositions
in interface Block
public Block getLoadedBlock()
getLoadedBlock
in interface Block
Copyright © 2012–2019. All rights reserved.