public interface ColumnValueSelector<T> extends BaseLongColumnValueSelector, BaseDoubleColumnValueSelector, BaseFloatColumnValueSelector, BaseObjectColumnValueSelector<T>
DimensionSelector, LongColumnSelector.
This interface has methods to get the value in all primitive types, that have corresponding basic aggregators in
Druid: Sum, Min, Max, etc: BaseFloatColumnValueSelector.getFloat(), BaseDoubleColumnValueSelector.getDouble() and BaseLongColumnValueSelector.getLong() to support "polymorphic"
rollup aggregation during index merging.
"Absent" column, i. e. that always returns zero from BaseLongColumnValueSelector.getLong(), BaseFloatColumnValueSelector.getFloat() and BaseDoubleColumnValueSelector.getDouble()
methods and null from BaseObjectColumnValueSelector.getObject(), should always be an instance of NilColumnValueSelector.
`selector instanceof NilColumnValueSelector` is the recommended way to check for this condition.| Modifier and Type | Field and Description |
|---|---|
static ColumnValueSelector[] |
EMPTY_ARRAY |
getLonggetDoublegetFloatinspectRuntimeShapeisNullclassOfObject, getObjectstatic final ColumnValueSelector[] EMPTY_ARRAY
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.