Package io.trino.plugin.iceberg
Enum Class TrinoMetricsReporter
- All Implemented Interfaces:
Serializable,Comparable<TrinoMetricsReporter>,Constable,org.apache.iceberg.metrics.MetricsReporter
public enum TrinoMetricsReporter
extends Enum<TrinoMetricsReporter>
implements org.apache.iceberg.metrics.MetricsReporter
Trino default
MetricsReporter implementation.
Similar to Iceberg's default MetricsReporter implementation,
the LoggingMetricsReporter, but does not log at INFO level,
just eliminating log file size impact.
- See Also:
-
LoggingMetricsReporter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidreport(org.apache.iceberg.metrics.MetricsReport report) static TrinoMetricsReporterReturns the enum constant of this class with the specified name.static TrinoMetricsReporter[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.iceberg.metrics.MetricsReporter
initialize
-
Enum Constant Details
-
TRINO_METRICS_REPORTER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
report
public void report(org.apache.iceberg.metrics.MetricsReport report) - Specified by:
reportin interfaceorg.apache.iceberg.metrics.MetricsReporter
-