Class TransactionReportImpl

Object
io.delta.kernel.internal.metrics.DeltaOperationReportImpl
io.delta.kernel.internal.metrics.TransactionReportImpl
All Implemented Interfaces:
DeltaOperationReport, MetricsReport, TransactionReport

public class TransactionReportImpl extends DeltaOperationReportImpl implements TransactionReport
A basic POJO implementation of TransactionReport for creating them
  • Constructor Details

    • TransactionReportImpl

      public TransactionReportImpl(String tablePath, String operation, String engineInfo, Optional<Long> committedVersion, Optional<List<Column>> clusteringColumns, TransactionMetrics transactionMetrics, Optional<SnapshotReport> snapshotReport, Optional<Exception> exception)
      Parameters:
      tablePath - the path of the table for the transaction
      operation - the operation provided by the connector when the transaction was created
      engineInfo - the engineInfo provided by the connector when the transaction was created
      committedVersion - the version committed to the table. Empty for a failed transaction.
      clusteringColumns - the clustering columns for the table, if any. Empty if not set.
      transactionMetrics - the metrics for the transaction
      snapshotReport - the SnapshotReport for the base snapshot of this transaction. Note, in the case of a new table (when version = -1), this SnapshotReport is just a placeholder and was never emitted to the engine's metrics reporters.
      exception - the exception thrown. Empty for a successful transaction.
  • Method Details