GroupByNode
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Transforms
Groups the items of an array by a key. The result is an array of { "key": ..., "items": [...] }
objects, ordered by the first occurrence of each key; items keep their original order within a group.
Items without a usable key are skipped and reported in a single warning per run.
public class GroupByNode : IPipelineNode
Inheritance Object → GroupByNode
Implements IPipelineNode
Constructors
GroupByNode(NodeDelegate)
Groups the items of an array by a key. The result is an array of { "key": ..., "items": [...] }
objects, ordered by the first occurrence of each key; items keep their original order within a group.
Items without a usable key are skipped and reported in a single warning per run.
public GroupByNode(NodeDelegate next)
Parameters
next NodeDelegate
Methods
ProcessObjectAsync(IDataContext, INodeContext)
public Task ProcessObjectAsync(IDataContext dataContext, INodeContext nodeContext)
Parameters
dataContext IDataContext
nodeContext INodeContext