Class UnivariateDoubleFunctionVectorValueProcessor<TInput>
- java.lang.Object
-
- org.apache.druid.math.expr.vector.UnivariateDoubleFunctionVectorValueProcessor<TInput>
-
- All Implemented Interfaces:
ExprVectorProcessor<double[]>
- Direct Known Subclasses:
DoubleOutDoubleInFunctionVectorValueProcessor
,DoubleOutLongInFunctionVectorValueProcessor
public abstract class UnivariateDoubleFunctionVectorValueProcessor<TInput> extends Object implements ExprVectorProcessor<double[]>
common machinery for processing single input operators and functions, which should always treat null input as null output, and are backed by a primitive value instead of an object value (and need to use the null vector instead of checking the vector itself for nulls) this one is specialized for producing double[], seeUnivariateLongFunctionVectorValueProcessor
for long[] primitives.
-
-
Constructor Summary
Constructors Constructor Description UnivariateDoubleFunctionVectorValueProcessor(ExprVectorProcessor<TInput> processor, int maxVectorSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExprEvalVector<double[]>
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
-
UnivariateDoubleFunctionVectorValueProcessor
public UnivariateDoubleFunctionVectorValueProcessor(ExprVectorProcessor<TInput> processor, int maxVectorSize)
-
-
Method Detail
-
evalVector
public final ExprEvalVector<double[]> evalVector(Expr.VectorInputBinding bindings)
- Specified by:
evalVector
in interfaceExprVectorProcessor<TInput>
-
-