Class SelectionVector

java.lang.Object
org.apache.arrow.gandiva.evaluator.SelectionVector
Direct Known Subclasses:
SelectionVectorInt16, SelectionVectorInt32

public abstract class SelectionVector extends Object
A selection vector contains the indexes of "selected" records in a row batch. It is backed by an arrow buffer. Client manages the lifecycle of the arrow buffer - to release the reference.
  • Constructor Details

    • SelectionVector

      public SelectionVector(ArrowBuf buffer)
  • Method Details

    • getBuffer

      public final ArrowBuf getBuffer()
    • getMaxRecords

      public final int getMaxRecords()
    • getRecordCount

      public final int getRecordCount()
    • getIndex

      public abstract int getIndex(int index)