Package org.apache.iceberg
Class MetricsConfig
- java.lang.Object
-
- org.apache.iceberg.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MetricsModes.MetricsMode
columnMode(java.lang.String columnAlias)
static MetricsConfig
forPositionDelete(Table table)
Creates a metrics config for a position delete file.static MetricsConfig
forTable(Table table)
Creates a metrics config from a table.static MetricsConfig
fromProperties(java.util.Map<java.lang.String,java.lang.String> props)
Deprecated.useforTable(Table)
static MetricsConfig
getDefault()
void
validateReferencedColumns(Schema schema)
-
-
-
Method Detail
-
getDefault
public static MetricsConfig getDefault()
-
fromProperties
@Deprecated public static MetricsConfig fromProperties(java.util.Map<java.lang.String,java.lang.String> props)
Deprecated.useforTable(Table)
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(java.lang.String columnAlias)
-
-