Zum Hauptinhalt springen

TransformStringNodeConfiguration

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

Configuration for a string manipulation transformation node that performs various string operations.

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

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

Properties​

SourcePath​

Gets or sets the relative path to the source string value within the selected objects.

public string SourcePath { get; set; }

Property Value​

String

Operation​

Specifies the string manipulation operation to be performed on the data.

public StringOperationDto Operation { get; set; }

Property Value​

StringOperationDto

StartIndex​

The starting position for substring operations (Substring).

public int StartIndex { get; set; }

Property Value​

Int32

Length​

The length of the substring to extract.

public Nullable<int> Length { get; set; }

Property Value​

Nullable<Int32>

Pattern​

The regular expression used by the StringOperationDto.RegexExtract operation.

public string Pattern { get; set; }

Property Value​

String

GroupIndex​

The capture group returned by StringOperationDto.RegexExtract (0 = whole match). Defaults to 1.

public int GroupIndex { get; set; }

Property Value​

Int32

AsDecimal​

When true, the StringOperationDto.RegexExtract result is parsed as an invariant decimal and written as a JSON number instead of a string.

public bool AsDecimal { get; set; }

Property Value​

Boolean

GroupSeparator​

Digit-grouping separator stripped from the captured text before decimal parsing (e.g. "." for "1.234,56").

public string GroupSeparator { get; set; }

Property Value​

String

DecimalSeparator​

Decimal separator in the captured text, replaced with '.' before invariant parsing (e.g. "," for "24,00").

public string DecimalSeparator { get; set; }

Property Value​

String

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​

TransformStringNodeConfiguration()​

Caution​

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


public TransformStringNodeConfiguration()