Package org.apache.iceberg
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 Summary
Modifier and TypeMethodDescriptiondefault BooleanReturns true if at least one file in the manifest has a NaN value for the field.booleanReturns true if at least one file in the manifest has a null value for the field.copy()Copies thissummary.static Types.StructTypegetType()Returns a ByteBuffer that contains a serialized bound lower than all values of the field.Returns a ByteBuffer that contains a serialized bound higher than all values of the field.
-
Method Details
-
getType
-
containsNull
boolean containsNull()Returns true if at least one file in the manifest has a null value for the field. -
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 thissummary. Readers can reuse instances; use this method to make defensive copies.- Returns:
- a copy of this partition field summary
-