Package org.apache.iceberg
Class MetricsModes
- java.lang.Object
-
- org.apache.iceberg.MetricsModes
-
public class MetricsModes extends java.lang.Object
This class defines different metrics modes, which allow users to control the collection of value_counts, null_value_counts, nan_value_counts, lower_bounds, upper_bounds for different columns in metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricsModes.Counts
Under this mode, only value_counts, null_value_counts, nan_value_counts are persisted.static class
MetricsModes.Full
Under this mode, value_counts, null_value_counts, nan_value_counts and full lower_bounds, upper_bounds are persisted.static interface
MetricsModes.MetricsMode
A metrics calculation mode.static class
MetricsModes.None
Under this mode, value_counts, null_value_counts, nan_value_counts, lower_bounds, upper_bounds are not persisted.static class
MetricsModes.Truncate
Under this mode, value_counts, null_value_counts, nan_value_counts and truncated lower_bounds, upper_bounds are persisted.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetricsModes.MetricsMode
fromString(java.lang.String mode)
-
-
-
Method Detail
-
fromString
public static MetricsModes.MetricsMode fromString(java.lang.String mode)
-
-