Class SelectionColumnVector

Object
io.delta.kernel.internal.data.SelectionColumnVector
All Implemented Interfaces:
ColumnVector, AutoCloseable

public class SelectionColumnVector extends Object implements ColumnVector
The selection vector for a columnar batch as a boolean ColumnVector.
  • Constructor Details

  • Method Details

    • getDataType

      public DataType getDataType()
      Specified by:
      getDataType in interface ColumnVector
      Returns:
      the data type of this column vector.
    • getSize

      public int getSize()
      Specified by:
      getSize in interface ColumnVector
      Returns:
      number of elements in the vector
    • close

      public void close()
      Description copied from interface: ColumnVector
      Cleans up memory for this column vector. The column vector is not usable after this.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface ColumnVector
    • isNullAt

      public boolean isNullAt(int rowId)
      Specified by:
      isNullAt in interface ColumnVector
      Returns:
      whether the value at rowId is NULL.
    • getBoolean

      public boolean getBoolean(int rowId)
      Description copied from interface: ColumnVector
      Returns the boolean type value for rowId. The return value is undefined and can be anything, if the slot for rowId is null.
      Specified by:
      getBoolean in interface ColumnVector
      Returns:
      Boolean value at the given row id