Interface Expr.VectorInputBinding

All Superinterfaces:
Expr.InputBindingInspector, Expr.VectorInputBindingInspector
All Known Implementing Classes:
ExpressionVectorInputBinding, FilteredVectorInputBinding
Enclosing interface:
Expr

public static interface Expr.VectorInputBinding extends Expr.VectorInputBindingInspector
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 Details

    • getObjectVector

      Object[] getObjectVector(String name)
    • getLongVector

      long[] getLongVector(String name)
    • getDoubleVector

      double[] getDoubleVector(String name)
    • getNullVector

      @Nullable boolean[] getNullVector(String name)
    • 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)