Class NumericArrayFieldSelector<ElementType extends Number>

java.lang.Object
org.apache.druid.frame.field.NumericArrayFieldSelector<ElementType>
Type Parameters:
ElementType - Type of the individual array elements
All Implemented Interfaces:
HotLoopCallee, BaseDoubleColumnValueSelector, BaseFloatColumnValueSelector, BaseLongColumnValueSelector, BaseNullableColumnValueSelector, BaseObjectColumnValueSelector<Object[]>, ColumnValueSelector<Object[]>

public abstract class NumericArrayFieldSelector<ElementType extends Number> extends Object implements ColumnValueSelector<Object[]>
Base implementation of the column value selector that the concrete numeric field reader implementations inherit from. The selector contains the logic to construct an array written by NumericArrayFieldWriter, and present it as a column value selector. The inheritors of this class are expected to implement 1. getIndividualValueAtMemory(long) Which extracts the element from the field where it was written to. Returns null if the value at that location represents a null element 2. getIndividualFieldSize() Which informs the method about the field size corresponding to each element in the numeric array's serialized representation