BackfillFromRtEntityNodeConfiguration
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Extract
Backfills missing attributes on a list of EntityUpdateInfo<RtEntity> items from
each item's persistent counterpart in MongoDB, using the target archive's column spec to
decide which attributes are needed.
public record BackfillFromRtEntityNodeConfiguration : PathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<BackfillFromRtEntityNodeConfiguration>
Inheritance Object → NodeConfiguration → PathNodeConfiguration → BackfillFromRtEntityNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<BackfillFromRtEntityNodeConfiguration>
Remarks:
Designed to sit immediately before SaveStreamDataInArchive in event-sourced pipelines
(e.g. Loxone state polling) where each upstream event only carries one attribute. The
archive's Columns declare the per-row schema; for every item, attributes that are not
already set on the in-flight update are loaded from the persistent RtEntity by its own
RtId. The result is a complete row snapshot that satisfies any Required/NOT NULL
columns on the per-archive CrateDB table.
Properties
ArchiveRtId
Runtime id of the target CkArchive entity. The archive's Columns list is
the schema that drives backfill — every column path that is not yet populated on an
update item is loaded from the persistent entity. Required.
public string ArchiveRtId { get; set; }
Property Value
Path
public string Path { get; set; }
Property Value
Description
public string Description { get; set; }
Property Value
Constructors
BackfillFromRtEntityNodeConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public BackfillFromRtEntityNodeConfiguration()