Zum Hauptinhalt springen

ArchiveDirtyWindow

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Information A of the recompute model: a window on a source archive whose data changed retroactively. Carries the affected half-open interval [WindowStart, WindowEnd) plus how (ArchiveDirtyWindow.ChangeKind) and through which path (ArchiveDirtyWindow.Source) the change arrived. Maps 1:1 to the CkArchiveDirtyWindow record. All timestamps are UTC.

public record ArchiveDirtyWindow : IEquatable<ArchiveDirtyWindow>

Inheritance Object → ArchiveDirtyWindow
Implements IEquatable<ArchiveDirtyWindow>

Properties​

WindowStart​

public DateTime WindowStart { get; set; }

Property Value​

DateTime

WindowEnd​

public DateTime WindowEnd { get; set; }

Property Value​

DateTime

ChangeKind​

public RecomputeChangeKind ChangeKind { get; set; }

Property Value​

RecomputeChangeKind

Source​

public RecomputeChangeSource Source { get; set; }

Property Value​

RecomputeChangeSource

DetectedAt​

public DateTime DetectedAt { get; set; }

Property Value​

DateTime

RtIds​

The rtIds whose rows made the window dirty (System.StreamData 1.26.0), or null when the window covers every series - a window recorded before 1.26.0, a manual write, or a write that touched more rtIds than RecomputeLateDataOptions.MaxScopedRtIds. The dependent rollups refresh only these series.

public RtIdSet RtIds { get; set; }

Property Value​

RtIdSet

Remarks:

An init-only property instead of a positional parameter on purpose: the positional constructor keeps its signature, so a storage layer compiled against the previous contract still runs against this one (it simply records no set, i.e. the unscoped behaviour).

Constructors​

ArchiveDirtyWindow(DateTime, DateTime, RecomputeChangeKind, RecomputeChangeSource, DateTime)​

Information A of the recompute model: a window on a source archive whose data changed retroactively. Carries the affected half-open interval [WindowStart, WindowEnd) plus how (ArchiveDirtyWindow.ChangeKind) and through which path (ArchiveDirtyWindow.Source) the change arrived. Maps 1:1 to the CkArchiveDirtyWindow record. All timestamps are UTC.

public ArchiveDirtyWindow(DateTime WindowStart, DateTime WindowEnd, RecomputeChangeKind ChangeKind, RecomputeChangeSource Source, DateTime DetectedAt)

Parameters​

WindowStart DateTime

WindowEnd DateTime

ChangeKind RecomputeChangeKind

Source RecomputeChangeSource

DetectedAt DateTime