Class DoubleBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
java.lang.Object
org.apache.druid.math.expr.vector.DoubleBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
- All Implemented Interfaces:
ExprVectorProcessor<double[]>
- Direct Known Subclasses:
DoubleBivariateDoubleLongFunctionVectorProcessor,DoubleBivariateDoublesFunctionVectorProcessor,DoubleBivariateLongDoubleFunctionVectorProcessor,DoubleBivariateLongsFunctionVectorProcessor
public abstract class DoubleBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
extends Object
implements ExprVectorProcessor<double[]>
common machinery for processing two input operators and functions, which should always treat null inputs as null
output, and are backed by a primitive values instead of an object values (and need to use the null vectors instead of
checking the vector themselves for nulls)
this one is specialized for producing double[], see
LongBivariateFunctionVectorProcessor for
long[] primitives.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDoubleBivariateFunctionVectorProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right) -
Method Summary
Modifier and TypeMethodDescriptionfinal ExprEvalVector<double[]>evalVector(Expr.VectorInputBinding bindings) intMethods 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
-
Constructor Details
-
DoubleBivariateFunctionVectorProcessor
protected DoubleBivariateFunctionVectorProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right)
-
-
Method Details
-
evalVector
- Specified by:
evalVectorin interfaceExprVectorProcessor<TLeftInput>
-
maxVectorSize
public int maxVectorSize()- Specified by:
maxVectorSizein interfaceExprVectorProcessor<TLeftInput>
-