Package org.apache.druid.segment.column
Interface NumericColumn
- All Superinterfaces:
AutoCloseable,BaseColumn,Closeable,HotLoopCallee,SelectableColumn
- All Known Implementing Classes:
ConstantTimeColumn,DoublesColumn,FloatsColumn,LongsColumn
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetLongSingleValueRow(int rowNum) intlength()Returns the row count of this column.Methods inherited from interface org.apache.druid.segment.column.BaseColumn
makeColumnValueSelector, makeVectorObjectSelector, makeVectorValueSelectorMethods inherited from interface org.apache.druid.query.monomorphicprocessing.HotLoopCallee
inspectRuntimeShapeMethods inherited from interface org.apache.druid.segment.column.SelectableColumn
as
-
Method Details
-
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
-
close
void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-