Skip to main content

CreateUpdateInfoNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration node object for update a rt entity object

public record CreateUpdateInfoNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<CreateUpdateInfoNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → CreateUpdateInfoNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<CreateUpdateInfoNodeConfiguration>

Properties​

UpdateKind​

Kind of update

public Nullable<UpdateKind> UpdateKind { get; set; }

Property Value​

Nullable<UpdateKind>

UpdateKindPath​

The path to the update kind

public string UpdateKindPath { get; set; }

Property Value​

String

ExplicitNullCreatesRecords​

What a JSON null on a member of a record that the update does not hold yet does, for example Amount.Value while no Amount is sent. false (default): the null is dropped and the record stays missing, so an update never replaces a stored record with one that holds only nulls. true: the record is created with that member as an explicit null, so the null reaches an archive as a named null and clears the stored column; members not sent stay missing. Turn it on only where the update is written to an archive (SaveStreamDataInArchive@1, SaveTimeRangeStreamDataInArchive@1): for a runtime entity the created record replaces the stored one and loses its other members, and a create fails on a required record member that was not sent.

public bool ExplicitNullCreatesRecords { get; set; }

Property Value​

Boolean

RtIdPath​

The path to the RtEntityId

public string RtIdPath { get; set; }

Property Value​

String

RtId​

The runtime id of the object

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

Property Value​

Nullable<OctoObjectId>

GenerateRtId​

When true, the RtId will be generated if it is not existing when RtIdPath is set

public bool GenerateRtId { get; set; }

Property Value​

Boolean

CkTypeId​

The runtime construction kit type id (use either this or CkTypeIdPath)

public RtCkId<CkTypeId> CkTypeId { get; set; }

Property Value​

RtCkId<CkTypeId>

CkTypeIdPath​

Gets or sets the JSON path to the CkTypeId

public string CkTypeIdPath { get; set; }

Property Value​

String

TimestampPath​

Jsonpath to the timestamp property if available

public string TimestampPath { get; set; }

Property Value​

String

AttributeUpdates​

Updates to the RtEntity attributes

public ICollection<AttributeUpdateConfiguration> AttributeUpdates { get; set; }

Property Value​

ICollection<AttributeUpdateConfiguration>

RecordArrayItemUpdates​

Atomic updates of single items of RecordArray attributes. Each entry changes the record whose key attribute equals the match value, in ONE atomic database update, without reading the entity first. Only for UpdateKind: UPDATE. Use it instead of a read-modify-write of the whole array (GetRtEntitiesByType + UpdateRecordArrayItem + AttributeUpdates with the array) when several pipeline executions change items of the same entity in parallel: the read-modify-write loses concurrent changes, this does not. May be combined with CreateUpdateInfoNodeConfiguration.AttributeUpdates for other attributes.

public ICollection<RecordArrayItemUpdateConfiguration> RecordArrayItemUpdates { get; set; }

Property Value​

ICollection<RecordArrayItemUpdateConfiguration>

RtWellKnownNamePath​

The path to the RtWellKnownName if available

public string RtWellKnownNamePath { get; set; }

Property Value​

String

Path​

public string Path { get; set; }

Property Value​

String

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

CreateUpdateInfoNodeConfiguration()​

public CreateUpdateInfoNodeConfiguration()