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