Class DefaultColumnSelectorFactoryMaker.ColumnAccessorBasedColumnSelectorFactory
java.lang.Object
org.apache.druid.query.rowsandcols.semantic.DefaultColumnSelectorFactoryMaker.ColumnAccessorBasedColumnSelectorFactory
- All Implemented Interfaces:
Expr.InputBindingInspector,ColumnInspector,ColumnSelectorFactory
- Enclosing class:
- DefaultColumnSelectorFactoryMaker
public static class DefaultColumnSelectorFactoryMaker.ColumnAccessorBasedColumnSelectorFactory
extends Object
implements ColumnSelectorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionColumnAccessorBasedColumnSelectorFactory(AtomicInteger cellIdSupplier, RowsAndColumns rac) -
Method Summary
Modifier and TypeMethodDescriptiongetColumnCapabilities(String column) Returns capabilities of a particular column, if known.makeColumnValueSelector(String columnName) Returns ColumnValueSelector corresponding to the given column name, orNilColumnValueSelectorif the column with such name is absent.makeDimensionSelector(DimensionSpec dimensionSpec) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.ColumnInspector
getTypeMethods inherited from interface org.apache.druid.segment.ColumnSelectorFactory
getRowIdSupplierMethods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
Constructor Details
-
ColumnAccessorBasedColumnSelectorFactory
-
-
Method Details
-
makeDimensionSelector
- Specified by:
makeDimensionSelectorin interfaceColumnSelectorFactory
-
makeColumnValueSelector
Description copied from interface:ColumnSelectorFactoryReturns ColumnValueSelector corresponding to the given column name, orNilColumnValueSelectorif the column with such name is absent.- Specified by:
makeColumnValueSelectorin interfaceColumnSelectorFactory
-
getColumnCapabilities
Description copied from interface:ColumnSelectorFactoryReturns capabilities of a particular column, if known. May be null if the column doesn't exist, or if the column does exist but the capabilities are unknown. The latter is possible with dynamically discovered columns.- Specified by:
getColumnCapabilitiesin interfaceColumnInspector- Specified by:
getColumnCapabilitiesin interfaceColumnSelectorFactory- Parameters:
column- column name- Returns:
- capabilities, or null
-