Class ExprEvalVector<T>
- java.lang.Object
-
- org.apache.druid.math.expr.vector.ExprEvalVector<T>
-
- Direct Known Subclasses:
ExprEvalDoubleVector,ExprEvalLongVector,ExprEvalObjectVector
public abstract class ExprEvalVector<T> extends Object
Result ofExprVectorProcessor.evalVector(org.apache.druid.math.expr.Expr.VectorInputBinding)which wraps the actual evaluated results of the operation over the input vector(s). Methods to get actual results mirror vectorized value and object selectors. The generic parameter T should be the native java array type of the vector result (long[], Object[], etc.)
-
-
Constructor Summary
Constructors Constructor Description ExprEvalVector(T values, boolean[] nulls)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract double[]getDoubleVector()abstract long[]getLongVector()boolean[]getNullVector()abstract Object[]getObjectVector()abstract ExpressionTypegetType()Tvalues()
-
-
-
Method Detail
-
values
public T values()
-
getNullVector
@Nullable public boolean[] getNullVector()
-
getType
public abstract ExpressionType getType()
-
getLongVector
public abstract long[] getLongVector()
-
getDoubleVector
public abstract double[] getDoubleVector()
-
getObjectVector
public abstract Object[] getObjectVector()
-
-