Package org.apache.druid.math.expr
Class SettableObjectBinding
java.lang.Object
org.apache.druid.math.expr.SettableObjectBinding
- All Implemented Interfaces:
Expr.InputBindingInspector,Expr.ObjectBinding
Simple map backed object binding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get value binding for string identifier ofIdentifierExprGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)toString()withBinding(String name, Object value) withInspector(Expr.InputBindingInspector inspector) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
Constructor Details
-
SettableObjectBinding
public SettableObjectBinding() -
SettableObjectBinding
public SettableObjectBinding(int expectedSize)
-
-
Method Details
-
get
Description copied from interface:Expr.ObjectBindingGet value binding for string identifier ofIdentifierExpr- Specified by:
getin interfaceExpr.ObjectBinding
-
getType
Description copied from interface:Expr.InputBindingInspectorGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)- Specified by:
getTypein interfaceExpr.InputBindingInspector
-
withBinding
-
withInspector
-
asMap
-
toString
-