Skip to main content

ForNodeConfiguration

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Control

Configuration for a for loop node.

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

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

Properties​

Count​

The number of iterations (static value). Used when ForNodeConfiguration.CountPath is not set.

public uint Count { get; set; }

Property Value​

UInt32

CountPath​

JSON path to dynamically resolve the iteration count from the data context. Takes precedence over ForNodeConfiguration.Count when set.

public string CountPath { get; set; }

Property Value​

String

IndexTargetPath​

Path the index of the current iteration is stored.

public string IndexTargetPath { get; set; }

Property Value​

String

Transformations​

public ICollection<NodeConfiguration> Transformations { get; set; }

Property Value​

ICollection<NodeConfiguration>

MaxDegreeOfParallelism​

Gets or sets the maximum degree of parallelism for the loop. 0 = use Environment.ProcessorCount (default), -1 = unlimited, positive = explicit limit.

public int MaxDegreeOfParallelism { get; set; }

Property Value​

Int32

Path​

Gets or sets the source path in json path format

public string Path { get; set; }

Property Value​

String

TargetPath​

Gets or sets the target path in json path format

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

Gets or sets the writing mode (overwrite, append, prepend)

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

Gets or sets the value kind to write (simple value or array)

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

Gets or sets the document mode (extend, replace)

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

Gets or sets an optional description

public string Description { get; set; }

Property Value​

String

Constructors​

ForNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public ForNodeConfiguration()