Package io.delta.kernel.metrics
Interface TransactionMetricsResult
public interface TransactionMetricsResult
Stores the metrics results for a
TransactionReport-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglonglong
-
Method Details
-
getTotalCommitDurationNs
long getTotalCommitDurationNs()- Returns:
- the total duration (ns) this transaction spent committing or trying to commit
-
getNumCommitAttempts
long getNumCommitAttempts()- Returns:
- the total number of commit attempts this transaction made
-
getNumAddFiles
long getNumAddFiles()- Returns:
- the number of add files committed in this transaction. For a failed transaction this metric may be incomplete.
-
getNumRemoveFiles
long getNumRemoveFiles()- Returns:
- the number of remove files committed in this transaction. For a failed transaction this metric may be incomplete.
-
getNumTotalActions
long getNumTotalActions()- Returns:
- the total number of delta actions committed in this transaction. For a failed transaction this metric may be incomplete.
-
getTotalAddFilesSizeInBytes
long getTotalAddFilesSizeInBytes()- Returns:
- the sum of size of added files committed in this transaction. For a failed transaction this metric may be incomplete.
-
getTotalRemoveFilesSizeInBytes
long getTotalRemoveFilesSizeInBytes()- Returns:
- the sum of size of removed files committed in this transaction. For a failed transaction this metric may be incomplete.
-
getTableFileSizeHistogram
Optional<FileSizeHistogramResult> getTableFileSizeHistogram()- Returns:
- the file size histogram information for the table version committed in this transaction. For a failed transaction this metric may be incomplete.
-