Class AbstractColumnVector

Object
io.delta.kernel.defaults.internal.data.vector.AbstractColumnVector
All Implemented Interfaces:
io.delta.kernel.data.ColumnVector, AutoCloseable
Direct Known Subclasses:
DefaultArrayVector, DefaultBinaryVector, DefaultBooleanVector, DefaultByteVector, DefaultDecimalVector, DefaultDoubleVector, DefaultFloatVector, DefaultIntVector, DefaultLongVector, DefaultMapVector, DefaultShortVector, DefaultStructVector

public abstract class AbstractColumnVector extends Object implements io.delta.kernel.data.ColumnVector
Abstract implementation of ColumnVector that provides the default functionality common to most of the specific data type ColumnVector implementations.
  • Method Details

    • getDataType

      public io.delta.kernel.types.DataType getDataType()
      Specified by:
      getDataType in interface io.delta.kernel.data.ColumnVector
    • getSize

      public int getSize()
      Specified by:
      getSize in interface io.delta.kernel.data.ColumnVector
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface io.delta.kernel.data.ColumnVector
    • isNullAt

      public boolean isNullAt(int rowId)
      Is the value at given rowId index is null?
      Specified by:
      isNullAt in interface io.delta.kernel.data.ColumnVector
      Parameters:
      rowId -
      Returns:
    • getBoolean

      public boolean getBoolean(int rowId)
      Specified by:
      getBoolean in interface io.delta.kernel.data.ColumnVector
    • getByte

      public byte getByte(int rowId)
      Specified by:
      getByte in interface io.delta.kernel.data.ColumnVector
    • getShort

      public short getShort(int rowId)
      Specified by:
      getShort in interface io.delta.kernel.data.ColumnVector
    • getInt

      public int getInt(int rowId)
      Specified by:
      getInt in interface io.delta.kernel.data.ColumnVector
    • getLong

      public long getLong(int rowId)
      Specified by:
      getLong in interface io.delta.kernel.data.ColumnVector
    • getFloat

      public float getFloat(int rowId)
      Specified by:
      getFloat in interface io.delta.kernel.data.ColumnVector
    • getDouble

      public double getDouble(int rowId)
      Specified by:
      getDouble in interface io.delta.kernel.data.ColumnVector
    • getBinary

      public byte[] getBinary(int rowId)
      Specified by:
      getBinary in interface io.delta.kernel.data.ColumnVector
    • getString

      public String getString(int rowId)
      Specified by:
      getString in interface io.delta.kernel.data.ColumnVector
    • getDecimal

      public BigDecimal getDecimal(int rowId)
      Specified by:
      getDecimal in interface io.delta.kernel.data.ColumnVector
    • getMap

      public io.delta.kernel.data.MapValue getMap(int rowId)
      Specified by:
      getMap in interface io.delta.kernel.data.ColumnVector
    • getArray

      public io.delta.kernel.data.ArrayValue getArray(int rowId)
      Specified by:
      getArray in interface io.delta.kernel.data.ColumnVector