Skip to main content

RtImportComputedFormulaChange

Namespace: Meshmakers.Octo.Runtime.Contracts.Exchange

A formula change of a computed column that an import handed to the archive lifecycle. The seed declared a different formula for a computed column of an activated archive; instead of overwriting the definition (which would leave the stored values and the column version behind), the import kept the live formula and queued the same versioned change with backfill as UpdateComputedColumnFormula: readers keep the previous values until the backfill of the new formula is done and the column version is swapped.

public record RtImportComputedFormulaChange : IEquatable<RtImportComputedFormulaChange>

Inheritance Object → RtImportComputedFormulaChange
Implements IEquatable<RtImportComputedFormulaChange>

Properties​

ArchiveRtId​

The archive.

public OctoObjectId ArchiveRtId { get; set; }

Property Value​

OctoObjectId

ArchiveWellKnownName​

The well-known name of the archive, if it has one.

public string ArchiveWellKnownName { get; set; }

Property Value​

String

Column​

The name of the computed column.

public string Column { get; set; }

Property Value​

String

Formula​

The formula the seed declares.

public string Formula { get; set; }

Property Value​

String

BackfillJobRtId​

The queued backfill job, if a job store is wired.

public Nullable<OctoObjectId> BackfillJobRtId { get; set; }

Property Value​

Nullable<OctoObjectId>

Error​

Why the change could not be queued; null when it was queued.

public string Error { get; set; }

Property Value​

String

Succeeded​

True when the change is queued.

public bool Succeeded { get; }

Property Value​

Boolean

Constructors​

RtImportComputedFormulaChange(OctoObjectId, String, String, String, Nullable<OctoObjectId>, String)​

A formula change of a computed column that an import handed to the archive lifecycle. The seed declared a different formula for a computed column of an activated archive; instead of overwriting the definition (which would leave the stored values and the column version behind), the import kept the live formula and queued the same versioned change with backfill as UpdateComputedColumnFormula: readers keep the previous values until the backfill of the new formula is done and the column version is swapped.

public RtImportComputedFormulaChange(OctoObjectId ArchiveRtId, string ArchiveWellKnownName, string Column, string Formula, Nullable<OctoObjectId> BackfillJobRtId, string Error)

Parameters​

ArchiveRtId OctoObjectId
The archive.

ArchiveWellKnownName String
The well-known name of the archive, if it has one.

Column String
The name of the computed column.

Formula String
The formula the seed declares.

BackfillJobRtId Nullable<OctoObjectId>
The queued backfill job, if a job store is wired.

Error String
Why the change could not be queued; null when it was queued.