public interface ColumnSelectorFactory extends ColumnInspector
org.apache.druid.segment.vector.VectorColumnSelectorFactory, the vectorized version| Modifier and Type | Method and Description |
|---|---|
ColumnCapabilities |
getColumnCapabilities(String column)
Returns capabilities of a particular column, if known.
|
default RowIdSupplier |
getRowIdSupplier()
Returns a
RowIdSupplier that allows callers to detect whether the selectors returned by this
factory have moved or not. |
ColumnValueSelector |
makeColumnValueSelector(String columnName)
Returns ColumnValueSelector corresponding to the given column name, or
NilColumnValueSelector if the
column with such name is absent. |
DimensionSelector |
makeDimensionSelector(DimensionSpec dimensionSpec) |
getColumnCapabilitiesWithDefault, getTypeareNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorizeDimensionSelector makeDimensionSelector(DimensionSpec dimensionSpec)
ColumnValueSelector makeColumnValueSelector(String columnName)
NilColumnValueSelector if the
column with such name is absent.@Nullable ColumnCapabilities getColumnCapabilities(String column)
getColumnCapabilities in interface ColumnInspectorcolumn - column name@Nullable default RowIdSupplier getRowIdSupplier()
RowIdSupplier that allows callers to detect whether the selectors returned by this
factory have moved or not. Useful for selectors that wrap other selectors, such as virtual columns,
as it allows them to cache their outputs.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.