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
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Boolean
containsNaN()
Returns true if at least one data file in the manifest has a NaN value for the field.boolean
containsNull()
Returns true if at least one data file in the manifest has a null value for the field.ManifestFile.PartitionFieldSummary
copy()
Copies thissummary
.static Types.StructType
getType()
java.nio.ByteBuffer
lowerBound()
Returns a ByteBuffer that contains a serialized bound lower than all values of the field.java.nio.ByteBuffer
upperBound()
Returns a ByteBuffer that contains a serialized bound higher than all values of the field.
-
-
-
Method Detail
-
getType
static Types.StructType getType()
-
containsNull
boolean containsNull()
Returns true if at least one data file in the manifest has a null value for the field.
-
containsNaN
default java.lang.Boolean containsNaN()
Returns true if at least one data 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
java.nio.ByteBuffer lowerBound()
Returns a ByteBuffer that contains a serialized bound lower than all values of the field.
-
upperBound
java.nio.ByteBuffer upperBound()
Returns a ByteBuffer that contains a serialized bound higher than all values of the field.
-
copy
ManifestFile.PartitionFieldSummary copy()
Copies thissummary
. Readers can reuse instances; use this method to make defensive copies.- Returns:
- a copy of this partition field summary
-
-