Class DefaultColumnarBatch

Object
io.delta.kernel.defaults.internal.data.DefaultColumnarBatch
All Implemented Interfaces:
io.delta.kernel.data.ColumnarBatch

public class DefaultColumnarBatch extends Object implements io.delta.kernel.data.ColumnarBatch
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultColumnarBatch(int size, io.delta.kernel.types.StructType schema, io.delta.kernel.data.ColumnVector[] columnVectors)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.delta.kernel.data.ColumnVector
    getColumnVector(int ordinal)
     
    io.delta.kernel.types.StructType
     
    int
     
    io.delta.kernel.data.ColumnarBatch
    withDeletedColumnAt(int ordinal)
     
    io.delta.kernel.data.ColumnarBatch
    withNewColumn(int ordinal, io.delta.kernel.types.StructField structField, io.delta.kernel.data.ColumnVector columnVector)
     
    io.delta.kernel.data.ColumnarBatch
    withNewSchema(io.delta.kernel.types.StructType newSchema)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.delta.kernel.data.ColumnarBatch

    getRows
  • Constructor Details

    • DefaultColumnarBatch

      public DefaultColumnarBatch(int size, io.delta.kernel.types.StructType schema, io.delta.kernel.data.ColumnVector[] columnVectors)
  • Method Details

    • getSchema

      public io.delta.kernel.types.StructType getSchema()
      Specified by:
      getSchema in interface io.delta.kernel.data.ColumnarBatch
    • getColumnVector

      public io.delta.kernel.data.ColumnVector getColumnVector(int ordinal)
      Specified by:
      getColumnVector in interface io.delta.kernel.data.ColumnarBatch
    • withNewColumn

      public io.delta.kernel.data.ColumnarBatch withNewColumn(int ordinal, io.delta.kernel.types.StructField structField, io.delta.kernel.data.ColumnVector columnVector)
      Specified by:
      withNewColumn in interface io.delta.kernel.data.ColumnarBatch
    • withDeletedColumnAt

      public io.delta.kernel.data.ColumnarBatch withDeletedColumnAt(int ordinal)
      Specified by:
      withDeletedColumnAt in interface io.delta.kernel.data.ColumnarBatch
    • withNewSchema

      public io.delta.kernel.data.ColumnarBatch withNewSchema(io.delta.kernel.types.StructType newSchema)
      Specified by:
      withNewSchema in interface io.delta.kernel.data.ColumnarBatch
    • getSize

      public int getSize()
      Specified by:
      getSize in interface io.delta.kernel.data.ColumnarBatch