Class LongBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
java.lang.Object
org.apache.druid.math.expr.vector.LongBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
- All Implemented Interfaces:
ExprVectorProcessor<long[]>
- Direct Known Subclasses:
LongBivariateDoubleLongFunctionVectorProcessor,LongBivariateDoublesFunctionVectorProcessor,LongBivariateLongDoubleFunctionVectorProcessor,LongBivariateLongsFunctionVectorProcessor
public abstract class LongBivariateFunctionVectorProcessor<TLeftInput,TRightInput>
extends Object
implements ExprVectorProcessor<long[]>
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 long[], see
DoubleBivariateFunctionVectorProcessor for
double[] primitives.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLongBivariateFunctionVectorProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right) -
Method Summary
Modifier and TypeMethodDescriptionfinal ExprEvalVector<long[]> 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
-
LongBivariateFunctionVectorProcessor
protected LongBivariateFunctionVectorProcessor(ExprVectorProcessor<TLeftInput> left, ExprVectorProcessor<TRightInput> right)
-
-
Method Details
-
evalVector
- Specified by:
evalVectorin interfaceExprVectorProcessor<TLeftInput>
-
maxVectorSize
public int maxVectorSize()- Specified by:
maxVectorSizein interfaceExprVectorProcessor<TLeftInput>
-