DistinctNodeConfiguration
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Transforms
Configuration for removing duplicates from an array. Supports scalar arrays (strings, numbers, etc.) and object arrays (deduplicated by a property).
public record DistinctNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<DistinctNodeConfiguration>
Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → DistinctNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<DistinctNodeConfiguration>
Properties
DistinctValuePath
Optional path to the value that defines uniqueness within object arrays. When not set, the node deduplicates scalar values directly. When set, each array item must be an object with a property at this path of a simple type (int, double, string, bool, datetime).
public string DistinctValuePath { get; set; }
Property Value
Path
Gets or sets the source path in json path format
public string Path { get; set; }
Property Value
TargetPath
Gets or sets the target path in json path format
public string TargetPath { get; set; }
Property Value
TargetValueWriteMode
Gets or sets the writing mode (overwrite, append, prepend)
public TargetValueWriteModes TargetValueWriteMode { get; set; }
Property Value
TargetValueKind
Gets or sets the value kind to write (simple value or array)
public ValueKinds TargetValueKind { get; set; }
Property Value
DocumentMode
Gets or sets the document mode (extend, replace)
public DocumentModes DocumentMode { get; set; }
Property Value
Description
Gets or sets an optional description
public string Description { get; set; }
Property Value
Constructors
DistinctNodeConfiguration()
public DistinctNodeConfiguration()