Skip to main content

IQueryProgressReporter

  • Namespace: PPDS.Dataverse.Query.Planning
  • Assembly: PPDS.Dataverse
  • Kind: Interface

Summary

Lightweight progress reporter for query plan execution. Defined in the Dataverse layer so it can be used without depending on PPDS.Cli. The CLI's IProgressReporter can wrap/adapt this interface.

Members

Methods

ReportPhase

void ReportPhase(string phase, string detail)

Reports a phase change during execution (e.g., "Fetching pages", "Merging results").

  • Param phase: The current phase name.

  • Param detail: Optional detail about the phase.

ReportProgress

void ReportProgress(int currentItem, int totalItems, string statusMessage)

Reports item-level progress during execution.

  • Param currentItem: The current item number (1-based).

  • Param totalItems: The total number of items, or 0 if unknown.

  • Param statusMessage: Optional status message.