Class MetricsConfig

java.lang.Object
org.apache.iceberg.MetricsConfig
All Implemented Interfaces:
Serializable

@Immutable public final class MetricsConfig extends Object implements Serializable
See Also:
  • Method Details

    • getDefault

      public static MetricsConfig getDefault()
    • fromProperties

      @Deprecated public static MetricsConfig fromProperties(Map<String,String> props)
      Deprecated.
      Creates a metrics config from table configuration.
      Parameters:
      props - table configuration
    • forTable

      public static MetricsConfig forTable(Table table)
      Creates a metrics config from a table.
      Parameters:
      table - iceberg table
    • forPositionDelete

      public static MetricsConfig forPositionDelete(Table table)
      Creates a metrics config for a position delete file.
      Parameters:
      table - an Iceberg table
    • validateReferencedColumns

      public void validateReferencedColumns(Schema schema)
    • columnMode

      public MetricsModes.MetricsMode columnMode(String columnAlias)