Package org.apache.iceberg
Interface ContentStats
public interface ContentStats
-
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a deep copy with all field stats.Returns a deep copy, with only the selected field stats structs by ID.Iterable<FieldStats<?>>Returns an iterable of theFieldStatsheld by this container struct<T> FieldStats<T>statsFor(int fieldId) Returns aFieldStatsinstance holding field stats for the given field ID.type()Container struct type containing tracked field-level stats structs.
-
Method Details
-
fieldStats
Iterable<FieldStats<?>> fieldStats()Returns an iterable of theFieldStatsheld by this container struct -
statsFor
Returns aFieldStatsinstance holding field stats for the given field ID.- Type Parameters:
T- The type of the underlyingFieldStatsinstance.- Parameters:
fieldId- The field ID to retrieveFieldStatsfor- Returns:
- A
FieldStatsinstance holding field stats for the given field ID.
-
type
Types.StructType type()Container struct type containing tracked field-level stats structs. -
copy
ContentStats copy()Returns a deep copy with all field stats. -
copy
Returns a deep copy, with only the selected field stats structs by ID.
-