Class SingleStringInputDeferredEvaluationExpressionDimensionVectorSelector

java.lang.Object
org.apache.druid.segment.virtual.SingleStringInputDeferredEvaluationExpressionDimensionVectorSelector
All Implemented Interfaces:
DimensionDictionarySelector, SingleValueDimensionVectorSelector, VectorSizeInspector

public class SingleStringInputDeferredEvaluationExpressionDimensionVectorSelector extends Object implements SingleValueDimensionVectorSelector
A SingleValueDimensionVectorSelector decorator that directly exposes the underlying dictionary ids in getRowVector(), saving expression computation until lookupName(int) is called. This allows for performing operations like grouping on the native dictionary ids, and deferring expression evaluation until after, which can dramatically reduce the total number of evaluations.
See Also: