Class MetadataBase.ColumnMetadata

java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataBase.ColumnMetadata
Direct Known Subclasses:
Metadata_V1.ColumnMetadata_v1, Metadata_V2.ColumnMetadata_v2, Metadata_V3.ColumnMetadata_v3
Enclosing class:
MetadataBase

public abstract static class MetadataBase.ColumnMetadata extends Object
  • Constructor Details

    • ColumnMetadata

      public ColumnMetadata()
  • Method Details

    • isNumNullsSet

      public boolean isNumNullsSet()
      Number of nulls is considered to be valid if its value is not null and -1.
      Returns:
      true if nulls value is defined, false otherwise
    • getName

      public abstract String[] getName()
    • getNulls

      public abstract Long getNulls()
    • hasSingleValue

      public abstract boolean hasSingleValue(long rowCount)
    • getMinValue

      public abstract Object getMinValue()
    • getMaxValue

      public abstract Object getMaxValue()
    • setMax

      public abstract void setMax(Object newMax)
      Set the max value recorded in the parquet metadata statistics. This object would just be immutable, but due to Drill-4203 we need to correct date values that had been corrupted by earlier versions of Drill.
    • setMin

      public abstract void setMin(Object newMax)
      Set the min value recorded in the parquet metadata statistics. This object would just be immutable, but due to Drill-4203 we need to correct date values that had been corrupted by earlier versions of Drill.
    • getPrimitiveType

      public abstract org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName getPrimitiveType()
    • getOriginalType

      public abstract org.apache.parquet.schema.OriginalType getOriginalType()