Zum Hauptinhalt springen

ArchiveCopyLoadResult

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

The outcome of loading one archive with IStreamDataRepository.LoadArchiveFromStagingAsync(OctoObjectId, ArchiveCopyPlan, ArchiveCopyStagingLocation, ArchiveCopyOptions, CancellationToken).

public record ArchiveCopyLoadResult : IEquatable<ArchiveCopyLoadResult>

Inheritance Object → ArchiveCopyLoadResult
Implements IEquatable<ArchiveCopyLoadResult>

Properties​

ArchiveRtId​

The archive that was loaded.

public OctoObjectId ArchiveRtId { get; set; }

Property Value​

OctoObjectId

Slices​

Result of each slice that was attempted.

public IReadOnlyList<ArchiveCopySliceResult> Slices { get; set; }

Property Value​

IReadOnlyList<ArchiveCopySliceResult>

ExpectedRows​

The rows the plan counted over all its slices.

public long ExpectedRows { get; set; }

Property Value​

Int64

LoadedRows​

The rows the tables hold after the load; null when the load did not get that far.

public Nullable<long> LoadedRows { get; set; }

Property Value​

Nullable<Int64>

RowCountVerified​

True when the tables hold exactly the counted rows (data table and, for a rollup, generation map). False when they differ or when the load stopped early; the restore job treats it as a failed archive.

public bool RowCountVerified { get; set; }

Property Value​

Boolean

IsSuccess​

True when every slice was loaded and the row counts are verified.

public bool IsSuccess { get; }

Property Value​

Boolean

Constructors​

ArchiveCopyLoadResult(OctoObjectId, IReadOnlyList<ArchiveCopySliceResult>, Int64, Nullable<Int64>, Boolean)​

The outcome of loading one archive with IStreamDataRepository.LoadArchiveFromStagingAsync(OctoObjectId, ArchiveCopyPlan, ArchiveCopyStagingLocation, ArchiveCopyOptions, CancellationToken).

public ArchiveCopyLoadResult(OctoObjectId ArchiveRtId, IReadOnlyList<ArchiveCopySliceResult> Slices, long ExpectedRows, Nullable<long> LoadedRows, bool RowCountVerified)

Parameters​

ArchiveRtId OctoObjectId
The archive that was loaded.

Slices IReadOnlyList<ArchiveCopySliceResult>
Result of each slice that was attempted.

ExpectedRows Int64
The rows the plan counted over all its slices.

LoadedRows Nullable<Int64>
The rows the tables hold after the load; null when the load did not get that far.

RowCountVerified Boolean
True when the tables hold exactly the counted rows (data table and, for a rollup, generation map). False when they differ or when the load stopped early; the restore job treats it as a failed archive.