Package org.apache.iceberg.metrics
Interface CommitMetricsResult
@Immutable
public interface CommitMetricsResult
A serializable version of
CommitMetrics
that carries its results.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionattempts()
static CounterResult
counterFrom
(Map<String, String> snapshotSummary, String metricName) static CounterResult
counterFrom
(Map<String, String> snapshotSummary, String metricName, MetricsContext.Unit unit) static CommitMetricsResult
from
(CommitMetrics commitMetrics, Map<String, String> snapshotSummary)
-
Field Details
-
ADDED_DATA_FILES
- See Also:
-
REMOVED_DATA_FILES
- See Also:
-
TOTAL_DATA_FILES
- See Also:
-
ADDED_DELETE_FILES
- See Also:
-
ADDED_EQ_DELETE_FILES
- See Also:
-
ADDED_POS_DELETE_FILES
- See Also:
-
REMOVED_POS_DELETE_FILES
- See Also:
-
REMOVED_EQ_DELETE_FILES
- See Also:
-
REMOVED_DELETE_FILES
- See Also:
-
TOTAL_DELETE_FILES
- See Also:
-
ADDED_RECORDS
- See Also:
-
REMOVED_RECORDS
- See Also:
-
TOTAL_RECORDS
- See Also:
-
ADDED_FILE_SIZE_BYTES
- See Also:
-
REMOVED_FILE_SIZE_BYTES
- See Also:
-
TOTAL_FILE_SIZE_BYTES
- See Also:
-
ADDED_POS_DELETES
- See Also:
-
REMOVED_POS_DELETES
- See Also:
-
TOTAL_POS_DELETES
- See Also:
-
ADDED_EQ_DELETES
- See Also:
-
REMOVED_EQ_DELETES
- See Also:
-
TOTAL_EQ_DELETES
- See Also:
-
-
Method Details
-
totalDuration
-
attempts
-
addedDataFiles
-
removedDataFiles
-
totalDataFiles
-
addedDeleteFiles
-
addedEqualityDeleteFiles
-
addedPositionalDeleteFiles
-
removedDeleteFiles
-
removedEqualityDeleteFiles
-
removedPositionalDeleteFiles
-
totalDeleteFiles
-
addedRecords
-
removedRecords
-
totalRecords
-
addedFilesSizeInBytes
-
removedFilesSizeInBytes
-
totalFilesSizeInBytes
-
addedPositionalDeletes
-
removedPositionalDeletes
-
totalPositionalDeletes
-
addedEqualityDeletes
-
removedEqualityDeletes
-
totalEqualityDeletes
-
from
-
counterFrom
-
counterFrom
static CounterResult counterFrom(Map<String, String> snapshotSummary, String metricName, MetricsContext.Unit unit)
-