Package org.apache.druid.math.expr
Interface Expr.VectorInputBinding
- All Superinterfaces:
Expr.InputBindingInspector,Expr.VectorInputBindingInspector
- All Known Implementing Classes:
ExpressionVectorInputBinding,FilteredVectorInputBinding
- Enclosing interface:
- Expr
Mechanism to supply batches of input values to a
ExprVectorProcessor for optimized processing. Mirrors
the vectorized column selector interfaces, and includes ExpressionType information about all input bindings
which exist-
Method Summary
Modifier and TypeMethodDescriptionintReturns an integer that uniquely identifies the current position of the underlying vector offset, if this binding is backed by a segment.intdouble[]getDoubleVector(String name) long[]getLongVector(String name) boolean[]getNullVector(String name) Object[]getObjectVector(String name) Methods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize, getTypeMethods inherited from interface org.apache.druid.math.expr.Expr.VectorInputBindingInspector
getMaxVectorSize
-
Method Details
-
getObjectVector
-
getLongVector
-
getDoubleVector
-
getNullVector
-
getCurrentVectorSize
int getCurrentVectorSize() -
getCurrentVectorId
int getCurrentVectorId()Returns an integer that uniquely identifies the current position of the underlying vector offset, if this binding is backed by a segment. This is useful for caching: it is safe to assume nothing has changed in the offset so long as the id remains the same. See also: ReadableVectorOffset (in druid-processing)
-