Class VectorHolder

java.lang.Object
org.apache.iceberg.arrow.vectorized.VectorHolder
Direct Known Subclasses:
VectorHolder.ConstantVectorHolder, VectorHolder.DeletedVectorHolder, VectorHolder.PositionVectorHolder

public class VectorHolder extends Object
Container class for holding the Arrow vector storing a batch of values along with other state needed for reading values out of it.
  • Constructor Details

    • VectorHolder

      public VectorHolder(org.apache.parquet.column.ColumnDescriptor columnDescriptor, org.apache.arrow.vector.FieldVector vector, boolean isDictionaryEncoded, org.apache.parquet.column.Dictionary dictionary, NullabilityHolder holder, Types.NestedField icebergField)
  • Method Details

    • descriptor

      public org.apache.parquet.column.ColumnDescriptor descriptor()
    • vector

      public org.apache.arrow.vector.FieldVector vector()
    • isDictionaryEncoded

      public boolean isDictionaryEncoded()
    • dictionary

      public org.apache.parquet.column.Dictionary dictionary()
    • nullabilityHolder

      public NullabilityHolder nullabilityHolder()
    • icebergType

      public Type icebergType()
    • icebergField

      public Types.NestedField icebergField()
    • numValues

      public int numValues()
    • constantHolder

      public static <T> VectorHolder constantHolder(Types.NestedField icebergField, int numRows, T constantValue)
    • deletedVectorHolder

      public static VectorHolder deletedVectorHolder(int numRows)
    • dummyHolder

      public static VectorHolder dummyHolder(int numRows)
    • isDummy

      public boolean isDummy()