Class JsonReport

Namespace
Wolfgang.Etl.Json
Assembly
Wolfgang.Etl.Json.dll

Progress report for JSON extraction and loading operations.

public record JsonReport : Report, IEquatable<Report>, IEquatable<JsonReport>
Inheritance
Report
JsonReport
Implements
IEquatable<Report>
Inherited Members
Report.ToString()
Report.GetHashCode()
Report.Equals(Report)
Report.<Clone>$()
Report.EqualityContract
Report.CurrentItemCount
Report.StartedAt
Report.Elapsed
Report.TotalItemCount
Report.ItemsPerSecond
Report.PercentComplete
Report.EstimatedRemaining

Remarks

Extends Wolfgang.Etl.Abstractions.Report with JSON-specific progress information, including the count of skipped items and the name of the stream currently being processed.

Constructors

JsonReport(int, int)

Initializes a new instance of the JsonReport class.

public JsonReport(int currentItemCount, int currentSkippedItemCount)

Parameters

currentItemCount int

The number of items processed so far.

currentSkippedItemCount int

The number of items skipped so far.

JsonReport(int, int, string?)

Initializes a new instance of the JsonReport class with the name of the stream currently being processed.

public JsonReport(int currentItemCount, int currentSkippedItemCount, string? currentSourceName)

Parameters

currentItemCount int

The number of items processed so far.

currentSkippedItemCount int

The number of items skipped so far.

currentSourceName string

The name of the stream currently being processed, or null if no name was supplied.

Properties

CurrentSkippedItemCount

Gets the number of items that have been skipped during processing.

public int CurrentSkippedItemCount { get; }

Property Value

int

CurrentSourceName

Gets the name of the stream currently being processed, or null when the caller did not supply a name or when the operation is not multi-stream.

public string? CurrentSourceName { get; }

Property Value

string