Class NcLuggageArchiveResult
- Namespace
- Hi.SqliteUtils
- Assembly
- HiNc.dll
Internal Use Only. What Archive(string, string, int, int, DateTime, IProgress<IMessage>, NcLuggageArchiveOptions) answers: Archived with the counts of the file written, or Skipped with the bytes the gate compared (a failure is thrown, not answered).
public sealed record NcLuggageArchiveResult : IEquatable<NcLuggageArchiveResult>
- Inheritance
-
NcLuggageArchiveResult
- Implements
- Inherited Members
- Extension Methods
Constructors
NcLuggageArchiveResult(NcLuggageArchiveOutcome, long, long, long, long, long, long, int, TimeSpan, long?, long, long, long)
Internal Use Only. What Archive(string, string, int, int, DateTime, IProgress<IMessage>, NcLuggageArchiveOptions) answers: Archived with the counts of the file written, or Skipped with the bytes the gate compared (a failure is thrown, not answered).
public NcLuggageArchiveResult(NcLuggageArchiveOutcome Outcome, long Rows, long ForceRows, long HeaderOnlyForceRows, long EngagementRows, long SourceBytes, long FileBytes, int PageSize, TimeSpan Elapsed, long? FreeBytes, long BoundBytes, long NeededBytes, long ReservedBytes = 0)
Parameters
OutcomeNcLuggageArchiveOutcomeRowslongThe rows copied: every step cache row of the step range, the rows whose two columns are NULL included.
ForceRowslongThe rows whose force column is not NULL.
HeaderOnlyForceRowslongThe force rows stored as the no-cut record's 8-byte header (an untouched step under active physics).
EngagementRowslongThe rows whose engagement column is not NULL.
SourceByteslongThe bytes of the two columns over the copied rows (
TOTAL(LENGTH(…))).FileByteslongThe archive file's length once complete; 0 when skipped.
PageSizeintThe page size chosen for the file (16,384 or 4,096); 0 when skipped.
ElapsedTimeSpanHow long the gate, the sampling and the copy took.
FreeByteslong?The free bytes the gate read on the result folder's drive; null when it could not be read (the copy then went ahead).
BoundByteslongThe step cache file's bytes (with its WAL): the upper bound the free space was compared with first.
NeededByteslongThe cold scan's estimate (the columns' bytes times the headroom) when the bound did not fit; 0 when the bound fit or the scan was not run.
ReservedByteslongThe bytes the gate kept free beyond the archive (ReserveBytes: the result file's completion).
Properties
BoundBytes
The step cache file's bytes (with its WAL): the upper bound the free space was compared with first.
public long BoundBytes { get; init; }
Property Value
Elapsed
How long the gate, the sampling and the copy took.
public TimeSpan Elapsed { get; init; }
Property Value
EngagementRows
The rows whose engagement column is not NULL.
public long EngagementRows { get; init; }
Property Value
FileBytes
The archive file's length once complete; 0 when skipped.
public long FileBytes { get; init; }
Property Value
ForceRows
The rows whose force column is not NULL.
public long ForceRows { get; init; }
Property Value
FreeBytes
The free bytes the gate read on the result folder's drive; null when it could not be read (the copy then went ahead).
public long? FreeBytes { get; init; }
Property Value
- long?
HeaderOnlyForceRows
The force rows stored as the no-cut record's 8-byte header (an untouched step under active physics).
public long HeaderOnlyForceRows { get; init; }
Property Value
NeededBytes
The cold scan's estimate (the columns' bytes times the headroom) when the bound did not fit; 0 when the bound fit or the scan was not run.
public long NeededBytes { get; init; }
Property Value
Outcome
public NcLuggageArchiveOutcome Outcome { get; init; }
Property Value
PageSize
The page size chosen for the file (16,384 or 4,096); 0 when skipped.
public int PageSize { get; init; }
Property Value
ReservedBytes
The bytes the gate kept free beyond the archive (ReserveBytes: the result file's completion).
public long ReservedBytes { get; init; }
Property Value
Rows
The rows copied: every step cache row of the step range, the rows whose two columns are NULL included.
public long Rows { get; init; }
Property Value
SourceBytes
The bytes of the two columns over the copied rows (TOTAL(LENGTH(…))).
public long SourceBytes { get; init; }