Class DefaultColumnarBatch
Object
io.delta.kernel.defaults.internal.data.DefaultColumnarBatch
- All Implemented Interfaces:
io.delta.kernel.data.ColumnarBatch
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultColumnarBatch(int size, io.delta.kernel.types.StructType schema, io.delta.kernel.data.ColumnVector[] columnVectors) -
Method Summary
Modifier and TypeMethodDescriptionio.delta.kernel.data.ColumnVectorgetColumnVector(int ordinal) io.delta.kernel.types.StructTypeintgetSize()io.delta.kernel.data.ColumnarBatchwithDeletedColumnAt(int ordinal) io.delta.kernel.data.ColumnarBatchwithNewColumn(int ordinal, io.delta.kernel.types.StructField structField, io.delta.kernel.data.ColumnVector columnVector) io.delta.kernel.data.ColumnarBatchwithNewSchema(io.delta.kernel.types.StructType newSchema) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSchemain interfaceio.delta.kernel.data.ColumnarBatch
-
getColumnVector
public io.delta.kernel.data.ColumnVector getColumnVector(int ordinal) - Specified by:
getColumnVectorin interfaceio.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:
withNewColumnin interfaceio.delta.kernel.data.ColumnarBatch
-
withDeletedColumnAt
public io.delta.kernel.data.ColumnarBatch withDeletedColumnAt(int ordinal) - Specified by:
withDeletedColumnAtin interfaceio.delta.kernel.data.ColumnarBatch
-
withNewSchema
public io.delta.kernel.data.ColumnarBatch withNewSchema(io.delta.kernel.types.StructType newSchema) - Specified by:
withNewSchemain interfaceio.delta.kernel.data.ColumnarBatch
-
getSize
public int getSize()- Specified by:
getSizein interfaceio.delta.kernel.data.ColumnarBatch
-