Interface ManifestFile.PartitionFieldSummary

All Known Implementing Classes:
GenericPartitionFieldSummary
Enclosing interface:
ManifestFile

public static interface ManifestFile.PartitionFieldSummary
Summarizes the values of one partition field stored in a manifest file.
  • Method Details

    • getType

      static Types.StructType getType()
    • containsNull

      boolean containsNull()
      Returns true if at least one file in the manifest has a null value for the field.
    • containsNaN

      default Boolean containsNaN()
      Returns true if at least one file in the manifest has a NaN value for the field. Null if this information doesn't exist.

      Default to return null to ensure backward compatibility.

    • lowerBound

      ByteBuffer lowerBound()
      Returns a ByteBuffer that contains a serialized bound lower than all values of the field.
    • upperBound

      ByteBuffer upperBound()
      Returns a ByteBuffer that contains a serialized bound higher than all values of the field.
    • copy

      Copies this summary. Readers can reuse instances; use this method to make defensive copies.
      Returns:
      a copy of this partition field summary