Skip to main content

RtImportArchiveColumnAddition

Namespace: Meshmakers.Octo.Runtime.Contracts.Exchange

A column an import added to an activated archive. The seed declared a column the archive did not have; instead of writing the definition without its storage, the import handed it to the archive lifecycle: an ingested column through ALTER TABLE … ADD COLUMN, a computed column through the computed-column add (Pending, storage, background backfill job, Active).

public record RtImportArchiveColumnAddition : IEquatable<RtImportArchiveColumnAddition>

Inheritance Object → RtImportArchiveColumnAddition
Implements IEquatable<RtImportArchiveColumnAddition>

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 attribute path of an ingested column, the name of a computed column.

public string Column { get; set; }

Property Value​

String

IsComputed​

True for a computed column.

public bool IsComputed { get; set; }

Property Value​

Boolean

BackfillJobRtId​

The queued backfill job of a computed column, if a job store is wired.

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

Property Value​

Nullable<OctoObjectId>

Error​

Why the column could not be added; null when it was added (or already present).

public string Error { get; set; }

Property Value​

String

Succeeded​

True when the column is in place (or its backfill is queued).

public bool Succeeded { get; }

Property Value​

Boolean

Constructors​

RtImportArchiveColumnAddition(OctoObjectId, String, String, Boolean, Nullable<OctoObjectId>, String)​

A column an import added to an activated archive. The seed declared a column the archive did not have; instead of writing the definition without its storage, the import handed it to the archive lifecycle: an ingested column through ALTER TABLE … ADD COLUMN, a computed column through the computed-column add (Pending, storage, background backfill job, Active).

public RtImportArchiveColumnAddition(OctoObjectId ArchiveRtId, string ArchiveWellKnownName, string Column, bool IsComputed, 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 attribute path of an ingested column, the name of a computed column.

IsComputed Boolean
True for a computed column.

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

Error String
Why the column could not be added; null when it was added (or already present).