Class MetricsConfig

  • All Implemented Interfaces:
    java.io.Serializable

    @Immutable
    public final class MetricsConfig
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • fromProperties

        @Deprecated
        public static MetricsConfig fromProperties​(java.util.Map<java.lang.String,​java.lang.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)