Class DefaultStructVector

Object
io.delta.kernel.defaults.internal.data.vector.AbstractColumnVector
io.delta.kernel.defaults.internal.data.vector.DefaultStructVector
All Implemented Interfaces:
io.delta.kernel.data.ColumnVector, AutoCloseable

public class DefaultStructVector extends AbstractColumnVector
ColumnVector implementation for struct type data.
  • Constructor Details

    • DefaultStructVector

      public DefaultStructVector(int size, io.delta.kernel.types.DataType dataType, Optional<boolean[]> nullability, io.delta.kernel.data.ColumnVector[] memberVectors)
      Create an instance of ColumnVector for struct type.
      Parameters:
      size - number of elements in the vector.
      dataType - struct datatype definition.
      nullability - Optional array of nullability value for each element in the vector. All values in the vector are considered non-null when parameter is empty.
      memberVectors - column vectors for each member of the struct.
  • Method Details

    • getChild

      public io.delta.kernel.data.ColumnVector getChild(int ordinal)