Class BivariateFunctionVectorObjectProcessor<TLeftInput,TRightInput,TOutput>
- java.lang.Object
-
- org.apache.druid.math.expr.vector.BivariateFunctionVectorObjectProcessor<TLeftInput,TRightInput,TOutput>
-
- All Implemented Interfaces:
ExprVectorProcessor<TOutput>
- Direct Known Subclasses:
LongOutObjectsInFunctionVectorProcessor
,ObjectOutObjectsInFunctionVectorProcessor
public abstract class BivariateFunctionVectorObjectProcessor<TLeftInput,TRightInput,TOutput> extends Object implements ExprVectorProcessor<TOutput>
BaseExprVectorProcessor
for expressions and functions with 2 'object' typed inputs (strings, arrays). In SQL compatible null handling mode, for a row with either left or right input as a null value, it will be handled byprocessNull(int)
instead ofprocessIndex(Object, Object, int)
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BivariateFunctionVectorObjectProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right, TOutput outValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExprEvalVector<TOutput>
evalVector(Expr.VectorInputBinding bindings)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.math.expr.vector.ExprVectorProcessor
getOutputType
-
-
-
-
Constructor Detail
-
BivariateFunctionVectorObjectProcessor
protected BivariateFunctionVectorObjectProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right, TOutput outValues)
-
-
Method Detail
-
evalVector
public ExprEvalVector<TOutput> evalVector(Expr.VectorInputBinding bindings)
- Specified by:
evalVector
in interfaceExprVectorProcessor<TLeftInput>
-
-