Class ExpressionDeferredGroupByVectorColumnSelector

java.lang.Object
org.apache.druid.segment.virtual.ExpressionDeferredGroupByVectorColumnSelector
All Implemented Interfaces:
GroupingSelector, GroupByVectorColumnSelector

public class ExpressionDeferredGroupByVectorColumnSelector extends Object implements GroupByVectorColumnSelector
Implementation of GroupByVectorColumnSelector that uses a wide key representing all expression inputs to enable deferring expression evaluation to writeKeyToResultRow(MemoryPointer, int, ResultRow, int). For example, the expression "coalesce(x, y)" would write a key composed of (x, y) in writeKeys(org.apache.datasketches.memory.WritableMemory, int, int, int, int), then compute "coalesce(x, y)" in writeKeyToResultRow(org.apache.druid.query.groupby.epinephelinae.collection.MemoryPointer, int, org.apache.druid.query.groupby.ResultRow, int).