Class UnivariateFunctionVectorObjectProcessor<TInput,TOutput>
- java.lang.Object
-
- org.apache.druid.math.expr.vector.UnivariateFunctionVectorObjectProcessor<TInput,TOutput>
-
- All Implemented Interfaces:
ExprVectorProcessor<TOutput>
- Direct Known Subclasses:
LongOutObjectInFunctionVectorProcessor
public abstract class UnivariateFunctionVectorObjectProcessor<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
Constructors Constructor Description UnivariateFunctionVectorObjectProcessor(ExprVectorProcessor<TInput> processor, int maxVectorSize, TOutput outValues)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ExprEvalVector<TOutput>
asEval()
ExprEvalVector<TOutput>
evalVector(Expr.VectorInputBinding bindings)
abstract void
processIndex(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, wait
-
Methods inherited from interface org.apache.druid.math.expr.vector.ExprVectorProcessor
getOutputType
-
-
-
-
Constructor Detail
-
UnivariateFunctionVectorObjectProcessor
public UnivariateFunctionVectorObjectProcessor(ExprVectorProcessor<TInput> processor, int maxVectorSize, TOutput outValues)
-
-
Method Detail
-
evalVector
public ExprEvalVector<TOutput> evalVector(Expr.VectorInputBinding bindings)
- Specified by:
evalVector
in interfaceExprVectorProcessor<TInput>
-
processIndex
public abstract void processIndex(TInput input, TOutput output, boolean[] outputNulls, int i)
-
asEval
public abstract ExprEvalVector<TOutput> asEval()
-
-