public class NullableDoubleGroupByVectorColumnSelector extends Object implements GroupByVectorColumnSelector
| Modifier and Type | Method and Description |
|---|---|
int |
getGroupingKeySize()
Get the size in bytes of the key parts generated by this column.
|
void |
reset()
Reset any internal state held by this selector.
|
int |
writeKeys(org.apache.datasketches.memory.WritableMemory keySpace,
int keySize,
int keyOffset,
int startRow,
int endRow)
Write key parts for this column, from startRow (inclusive) to endRow (exclusive), into keySpace starting at
keyOffset.
|
void |
writeKeyToResultRow(MemoryPointer keyMemory,
int keyOffset,
ResultRow resultRow,
int resultRowPosition)
Write key parts for this column into a particular result row.
|
public int getGroupingKeySize()
GroupByVectorColumnSelectorgetGroupingKeySize in interface GroupByVectorColumnSelectorpublic int writeKeys(org.apache.datasketches.memory.WritableMemory keySpace,
int keySize,
int keyOffset,
int startRow,
int endRow)
GroupByVectorColumnSelectorwriteKeys in interface GroupByVectorColumnSelectorkeySpace - key memorykeySize - size of the overall key (not just the part for this column)keyOffset - starting position for the first key part within keySpacestartRow - starting row (inclusive) within the current vectorendRow - ending row (exclusive) within the current vectorpublic void writeKeyToResultRow(MemoryPointer keyMemory, int keyOffset, ResultRow resultRow, int resultRowPosition)
GroupByVectorColumnSelectorwriteKeyToResultRow in interface GroupByVectorColumnSelectorkeyMemory - key memorykeyOffset - starting position for this key part within keyMemory
(starting from MemoryPointer.position)resultRow - result row to receive key partsresultRowPosition - position within the result row for this key partpublic void reset()
GroupByVectorColumnSelectorGroupByVectorColumnSelector.writeKeys(org.apache.datasketches.memory.WritableMemory, int, int, int, int) must be considered unreadable.
Calling GroupByVectorColumnSelector.writeKeyToResultRow(org.apache.druid.query.groupby.epinephelinae.collection.MemoryPointer, int, org.apache.druid.query.groupby.ResultRow, int) on that memory has undefined behavior.reset in interface GroupByVectorColumnSelectorCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.