Package org.apache.iceberg.metrics
Class InMemoryMetricsReporter
- java.lang.Object
-
- org.apache.iceberg.metrics.InMemoryMetricsReporter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,MetricsReporter
public class InMemoryMetricsReporter extends java.lang.Object implements MetricsReporter
-
-
Constructor Summary
Constructors Constructor Description InMemoryMetricsReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
report(MetricsReport report)
Indicates that an operation is done by reporting aMetricsReport
.ScanReport
scanReport()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.metrics.MetricsReporter
close, initialize
-
-
-
-
Method Detail
-
report
public void report(MetricsReport report)
Description copied from interface:MetricsReporter
Indicates that an operation is done by reporting aMetricsReport
. AMetricsReport
is usually directly derived from aMetricsReport
instance.- Specified by:
report
in interfaceMetricsReporter
- Parameters:
report
- TheMetricsReport
to report.
-
scanReport
public ScanReport scanReport()
-
-