Package org.apache.druid.segment.column
Interface NumericColumn
-
- All Superinterfaces:
AutoCloseable,BaseColumn,Closeable,HotLoopCallee
- All Known Implementing Classes:
DoublesColumn,FloatsColumn,LongsColumn
public interface NumericColumn extends BaseColumn, HotLoopCallee
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()longgetLongSingleValueRow(int rowNum)intlength()Returns the row count of this column.-
Methods inherited from interface org.apache.druid.segment.column.BaseColumn
makeColumnValueSelector, makeVectorObjectSelector, makeVectorValueSelector
-
Methods inherited from interface org.apache.druid.query.monomorphicprocessing.HotLoopCallee
inspectRuntimeShape
-
-
-
-
Method Detail
-
length
int length()
Returns the row count of this column. Note that this method currently counts only non-null values. Using this method to get the length of a column that contains nulls will not work as expected. This method should be used only for non-nullable numeric columns such as the "__time" column.
-
getLongSingleValueRow
@CalledFromHotLoop long getLongSingleValueRow(int rowNum)
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-