Class FlowDataSourceExpander
- Namespace
- Kuestenlogik.Bowire.Flows
- Assembly
- Kuestenlogik.Bowire.Flows.dll
Materialises a FlowDataSource into concrete rows — #174. The runner calls this once per data-driven step and executes the step once per returned row.
public static class FlowDataSourceExpander
- Inheritance
-
FlowDataSourceExpander
- Inherited Members
Fields
MaxRows
Upper bound on expanded rows. A typo'd generator range
(to: 2000000000) must fail loudly instead of hanging CI.
public const int MaxRows = 100000
Field Value
Methods
Expand(FlowDataSource, string)
Expand data into rows. CSV paths resolve
relative to baseDirectory (the flow file's
directory). Throws InvalidDataException on config
errors (none / several sources set, inverted range, zero rows) and
lets file-system exceptions from a missing / unreadable CSV
propagate — the runner maps both onto a step error.
public static IReadOnlyList<FlowDataRow> Expand(FlowDataSource data, string baseDirectory)
Parameters
dataFlowDataSourcebaseDirectorystring