Class DatasetLoadOutcome
The outcome of a LoadAsync(string, string?, CancellationToken) call.
public sealed record DatasetLoadOutcome : IEquatable<DatasetLoadOutcome>
- Inheritance
-
DatasetLoadOutcome
- Implements
- Inherited Members
Constructors
DatasetLoadOutcome(string, DatasetSourceKind, IReadOnlyList<DatasetId>, bool, IReadOnlyList<string>?)
The outcome of a LoadAsync(string, string?, CancellationToken) call.
public DatasetLoadOutcome(string Path, DatasetSourceKind Kind, IReadOnlyList<DatasetId> Added, bool TimedOut, IReadOnlyList<string>? Problems = null)
Parameters
PathstringThe path that was loaded.
KindDatasetSourceKindHow the path was classified.
AddedIReadOnlyList<DatasetId>Catalog ids of the datasets newly added, in add order. Empty when nothing portrayable was produced.
TimedOutbooltrue when an exchange-set load did not quiesce before the host's ceiling; some datasets may still be arriving.
ProblemsIReadOnlyList<string>Human-readable reasons the load failed or skipped datasets (for example an unreadable catalogue, or a catalogued file with an unsupported product), in the order they arose. null or empty when nothing was skipped. A tool reporting an empty
Addedincludes these so the caller learns why nothing loaded.
Properties
Added
Catalog ids of the datasets newly added, in add order. Empty when nothing portrayable was produced.
public IReadOnlyList<DatasetId> Added { get; init; }
Property Value
Kind
How the path was classified.
public DatasetSourceKind Kind { get; init; }
Property Value
Path
The path that was loaded.
public string Path { get; init; }
Property Value
Problems
Human-readable reasons the load failed or skipped datasets (for example an
unreadable catalogue, or a catalogued file with an unsupported product), in
the order they arose. null or empty when nothing was
skipped. A tool reporting an empty Added includes these so
the caller learns why nothing loaded.
public IReadOnlyList<string>? Problems { get; init; }
Property Value
TimedOut
true when an exchange-set load did not quiesce before the host's ceiling; some datasets may still be arriving.
public bool TimedOut { get; init; }