Class UnivariateObjectFunctionVectorProcessor<TInput,TOutput>
java.lang.Object
org.apache.druid.math.expr.vector.UnivariateObjectFunctionVectorProcessor<TInput,TOutput>
- All Implemented Interfaces:
ExprVectorProcessor<TOutput>
- Direct Known Subclasses:
LongUnivariateObjectFunctionVectorProcessor
public abstract class UnivariateObjectFunctionVectorProcessor<TInput,TOutput>
extends Object
implements ExprVectorProcessor<TOutput>
common machinery for processing single input operators and functions, which are backed by an object value instead of
a primitive value (so do not need to use the null vector, and instead can check the value vector itself for nulls)
-
Constructor Summary
ConstructorsConstructorDescriptionUnivariateObjectFunctionVectorProcessor(ExprVectorProcessor<TInput> processor, TOutput outValues) -
Method Summary
Modifier and TypeMethodDescriptionabstract ExprEvalVector<TOutput>asEval()evalVector(Expr.VectorInputBinding bindings) abstract voidprocessIndex(TInput input, TOutput output, boolean[] outputNulls, int i) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.vector.ExprVectorProcessor
getOutputType, maxVectorSize
-
Constructor Details
-
UnivariateObjectFunctionVectorProcessor
public UnivariateObjectFunctionVectorProcessor(ExprVectorProcessor<TInput> processor, TOutput outValues)
-
-
Method Details
-
evalVector
- Specified by:
evalVectorin interfaceExprVectorProcessor<TInput>
-
processIndex
-
asEval
-