Interface SnapshotMetricsResult


public interface SnapshotMetricsResult
Stores the metrics results for a SnapshotReport
  • Method Details

    • getComputeTimestampToVersionTotalDurationNs

      Optional<Long> getComputeTimestampToVersionTotalDurationNs()
      Returns:
      the duration (ns) to resolve the provided timestamp to a table version for timestamp time-travel queries. Empty for time-travel by version or non-time-travel queries.
    • getLoadSnapshotTotalDurationNs

      long getLoadSnapshotTotalDurationNs()
      Returns:
      the total duration (ns) to load the snapshot, including all steps such as resolving timestamp to version, LISTing the _delta_log, building the log segment, and determining the latest protocol and metadata.
    • getLoadProtocolMetadataTotalDurationNs

      long getLoadProtocolMetadataTotalDurationNs()
      Returns:
      the duration (ns) to load the initial delta actions for the snapshot (such as the table protocol and metadata). 0 if snapshot construction fails before log replay.
    • getLoadLogSegmentTotalDurationNs

      long getLoadLogSegmentTotalDurationNs()
      Returns:
      the duration (ns) to build the log segment for the specified version during snapshot construction. 0 if snapshot construction fails before this step.
    • getLoadCrcTotalDurationNs

      long getLoadCrcTotalDurationNs()
      Returns:
      the duration (ns) to get CRC information during snapshot construction. 0 if snapshot construction fails before this step or if CRC is not read in loading snapshot.