Class DoubleFieldMetrics


  • public class DoubleFieldMetrics
    extends FieldMetrics<java.lang.Double>
    Iceberg internally tracked field level metrics, used by Parquet and ORC writers only.

    Parquet/ORC keeps track of most metrics in file statistics, and only NaN counter is actually tracked by writers. This wrapper ensures that metrics not being updated by those writers will not be incorrectly used, by throwing exceptions when they are accessed.