Package org.apache.iceberg.metrics
Class ScanMetrics
- java.lang.Object
-
- org.apache.iceberg.metrics.ScanMetrics
-
@Immutable public abstract class ScanMetrics extends java.lang.Object
Carries all metrics for a particular scan
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EQUALITY_DELETE_FILES
static java.lang.String
INDEXED_DELETE_FILES
static java.lang.String
POSITIONAL_DELETE_FILES
static java.lang.String
RESULT_DATA_FILES
static java.lang.String
RESULT_DELETE_FILES
static java.lang.String
SCANNED_DATA_MANIFESTS
static java.lang.String
SCANNED_DELETE_MANIFESTS
static java.lang.String
SKIPPED_DATA_FILES
static java.lang.String
SKIPPED_DATA_MANIFESTS
static java.lang.String
SKIPPED_DELETE_FILES
static java.lang.String
SKIPPED_DELETE_MANIFESTS
static java.lang.String
TOTAL_DATA_MANIFESTS
static java.lang.String
TOTAL_DELETE_FILE_SIZE_IN_BYTES
static java.lang.String
TOTAL_DELETE_MANIFESTS
static java.lang.String
TOTAL_FILE_SIZE_IN_BYTES
static java.lang.String
TOTAL_PLANNING_DURATION
-
Constructor Summary
Constructors Constructor Description ScanMetrics()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Counter
equalityDeleteFiles()
Counter
indexedDeleteFiles()
abstract MetricsContext
metricsContext()
static ScanMetrics
noop()
static ScanMetrics
of(MetricsContext metricsContext)
Counter
positionalDeleteFiles()
Counter
resultDataFiles()
Counter
resultDeleteFiles()
Counter
scannedDataManifests()
Counter
scannedDeleteManifests()
Counter
skippedDataFiles()
Counter
skippedDataManifests()
Counter
skippedDeleteFiles()
Counter
skippedDeleteManifests()
Counter
totalDataManifests()
Counter
totalDeleteFileSizeInBytes()
Counter
totalDeleteManifests()
Counter
totalFileSizeInBytes()
Timer
totalPlanningDuration()
-
-
-
Field Detail
-
TOTAL_PLANNING_DURATION
public static final java.lang.String TOTAL_PLANNING_DURATION
- See Also:
- Constant Field Values
-
RESULT_DATA_FILES
public static final java.lang.String RESULT_DATA_FILES
- See Also:
- Constant Field Values
-
RESULT_DELETE_FILES
public static final java.lang.String RESULT_DELETE_FILES
- See Also:
- Constant Field Values
-
SCANNED_DATA_MANIFESTS
public static final java.lang.String SCANNED_DATA_MANIFESTS
- See Also:
- Constant Field Values
-
SCANNED_DELETE_MANIFESTS
public static final java.lang.String SCANNED_DELETE_MANIFESTS
- See Also:
- Constant Field Values
-
TOTAL_DATA_MANIFESTS
public static final java.lang.String TOTAL_DATA_MANIFESTS
- See Also:
- Constant Field Values
-
TOTAL_DELETE_MANIFESTS
public static final java.lang.String TOTAL_DELETE_MANIFESTS
- See Also:
- Constant Field Values
-
TOTAL_FILE_SIZE_IN_BYTES
public static final java.lang.String TOTAL_FILE_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
TOTAL_DELETE_FILE_SIZE_IN_BYTES
public static final java.lang.String TOTAL_DELETE_FILE_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
SKIPPED_DATA_MANIFESTS
public static final java.lang.String SKIPPED_DATA_MANIFESTS
- See Also:
- Constant Field Values
-
SKIPPED_DELETE_MANIFESTS
public static final java.lang.String SKIPPED_DELETE_MANIFESTS
- See Also:
- Constant Field Values
-
SKIPPED_DATA_FILES
public static final java.lang.String SKIPPED_DATA_FILES
- See Also:
- Constant Field Values
-
SKIPPED_DELETE_FILES
public static final java.lang.String SKIPPED_DELETE_FILES
- See Also:
- Constant Field Values
-
INDEXED_DELETE_FILES
public static final java.lang.String INDEXED_DELETE_FILES
- See Also:
- Constant Field Values
-
EQUALITY_DELETE_FILES
public static final java.lang.String EQUALITY_DELETE_FILES
- See Also:
- Constant Field Values
-
POSITIONAL_DELETE_FILES
public static final java.lang.String POSITIONAL_DELETE_FILES
- See Also:
- Constant Field Values
-
-
Method Detail
-
noop
public static ScanMetrics noop()
-
metricsContext
public abstract MetricsContext metricsContext()
-
totalPlanningDuration
@Derived public Timer totalPlanningDuration()
-
resultDataFiles
@Derived public Counter resultDataFiles()
-
resultDeleteFiles
@Derived public Counter resultDeleteFiles()
-
scannedDataManifests
@Derived public Counter scannedDataManifests()
-
totalDataManifests
@Derived public Counter totalDataManifests()
-
totalDeleteManifests
@Derived public Counter totalDeleteManifests()
-
totalFileSizeInBytes
@Derived public Counter totalFileSizeInBytes()
-
totalDeleteFileSizeInBytes
@Derived public Counter totalDeleteFileSizeInBytes()
-
skippedDataManifests
@Derived public Counter skippedDataManifests()
-
skippedDataFiles
@Derived public Counter skippedDataFiles()
-
skippedDeleteFiles
@Derived public Counter skippedDeleteFiles()
-
scannedDeleteManifests
@Derived public Counter scannedDeleteManifests()
-
skippedDeleteManifests
@Derived public Counter skippedDeleteManifests()
-
indexedDeleteFiles
@Derived public Counter indexedDeleteFiles()
-
equalityDeleteFiles
@Derived public Counter equalityDeleteFiles()
-
positionalDeleteFiles
@Derived public Counter positionalDeleteFiles()
-
of
public static ScanMetrics of(MetricsContext metricsContext)
-
-