DataTransformNode class
Beep.Skia (core) — class
Automation node that transforms and manipulates data as part of workflow automation. Supports filtering, mapping, aggregation, and custom transformations on input data.
Members
| Member | Kind | Description |
|---|---|---|
string TransformType | Property | Gets or sets the type of transformation to perform (Map, Filter, Aggregate, Custom). |
Dictionary<string, object> TransformConfig | Property | Gets or sets the transformation configuration parameters. |
List<FieldMapping> FieldMappings | Property | Gets or sets the field mappings for data transformation. |
List<FilterCondition> Filters | Property | Gets or sets the filter conditions for data filtering. |
string CustomScript | Property | Gets or sets the custom transformation script (for Custom transform type). |
string OutputFormat | Property | Gets or sets the output format for the transformed data. |
bool PreserveOriginal | Property | Gets or sets whether to preserve the original data alongside the transformed data. |
override string Description | Property | Gets the description of what this automation node does. |
override NodeType NodeType | Property | Gets the type of this automation node. |
override Task<bool> InitializeAsync(Dictionary<string, object> configuration, CancellationToken cancellationToken = default) | Method | Initializes the data transform node with the specified configuration. The configuration parameters for the node. Token to cancel the initialization. A task representing the initialization operation. |
override async Task<ValidationResult> ValidateAsync(Model.ExecutionContext inputData, CancellationToken cancellationToken = default) | Method | Validates the current configuration and input data for this node. The input data to validate. Token to cancel the validation. A task containing the validation result. |
override async Task<NodeResult> ExecuteAsync(Model.ExecutionContext context, CancellationToken cancellationToken = default) | Method | Executes the data transformation and returns the results. The execution context containing input data and workflow state. Token to cancel the execution. A task containing the execution result. |
override Dictionary<string, object> GetInputSchema() | Method | Gets the schema defining the input parameters this node expects. A dictionary describing the input schema. |
override Dictionary<string, object> GetOutputSchema() | Method | Gets the schema defining the output parameters this node produces. A dictionary describing the output schema. |