Class VectorExpander

java.lang.Object
org.apache.arrow.gandiva.evaluator.VectorExpander

public class VectorExpander extends Object
This class provides the functionality to expand output vectors using a callback mechanism from gandiva.
  • Constructor Details

  • Method Details

    • expandOutputVectorAtIndex

      public VectorExpander.ExpandResult expandOutputVectorAtIndex(int index, long toCapacity)
      Expand vector at specified index. This is used as a back call from jni, and is only relevant for variable width vectors.
      Parameters:
      index - index of buffer in the list passed to jni.
      toCapacity - the size to which the buffer should be expanded to.
      Returns:
      address and size of the buffer after expansion.