Class NumericArrayFrameColumnReader.NumericArrayFrameColumn
- java.lang.Object
-
- org.apache.druid.query.rowsandcols.column.accessor.ObjectColumnAccessorBase
-
- org.apache.druid.frame.read.columnar.NumericArrayFrameColumnReader.NumericArrayFrameColumn
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ColumnAccessor,BaseColumn
- Enclosing class:
- NumericArrayFrameColumnReader
public abstract static class NumericArrayFrameColumnReader.NumericArrayFrameColumn extends ObjectColumnAccessorBase implements BaseColumn
-
-
Constructor Summary
Constructors Constructor Description NumericArrayFrameColumn(Frame frame, org.apache.datasketches.memory.Memory memory, ColumnType columnType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected Comparator<Object>getComparator()ColumnTypegetType()Get the type of the Columnprotected ObjectgetVal(int rowNum)ColumnValueSelector<?>makeColumnValueSelector(ReadableOffset offset)VectorObjectSelectormakeVectorObjectSelector(ReadableVectorOffset offset)intnumRows()Get the number of rows-
Methods inherited from class org.apache.druid.query.rowsandcols.column.accessor.ObjectColumnAccessorBase
compareRows, getDouble, getFloat, getInt, getLong, getObject, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.segment.column.BaseColumn
as, makeVectorValueSelector
-
-
-
-
Constructor Detail
-
NumericArrayFrameColumn
public NumericArrayFrameColumn(Frame frame, org.apache.datasketches.memory.Memory memory, ColumnType columnType)
-
-
Method Detail
-
getType
public ColumnType getType()
Description copied from interface:ColumnAccessorGet the type of the Column- Specified by:
getTypein interfaceColumnAccessor- Returns:
- the type of the Column
-
numRows
public int numRows()
Description copied from interface:ColumnAccessorGet the number of rows- Specified by:
numRowsin interfaceColumnAccessor- Returns:
- the number of rows
-
getVal
protected Object getVal(int rowNum)
- Specified by:
getValin classObjectColumnAccessorBase
-
getComparator
protected Comparator<Object> getComparator()
- Specified by:
getComparatorin classObjectColumnAccessorBase
-
makeColumnValueSelector
public ColumnValueSelector<?> makeColumnValueSelector(ReadableOffset offset)
- Specified by:
makeColumnValueSelectorin interfaceBaseColumn
-
makeVectorObjectSelector
public VectorObjectSelector makeVectorObjectSelector(ReadableVectorOffset offset)
- Specified by:
makeVectorObjectSelectorin interfaceBaseColumn
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-