@Immutable
public final class MetricsConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and 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.
use
forTable(Table) |
static MetricsConfig |
getDefault() |
void |
validateReferencedColumns(Schema schema) |
public static MetricsConfig getDefault()
@Deprecated public static MetricsConfig fromProperties(java.util.Map<java.lang.String,java.lang.String> props)
forTable(Table)
props
- table configurationpublic static MetricsConfig forTable(Table table)
table
- iceberg tablepublic static MetricsConfig forPositionDelete(Table table)
table
- an Iceberg tablepublic void validateReferencedColumns(Schema schema)
public MetricsModes.MetricsMode columnMode(java.lang.String columnAlias)