Pnyxclass to access the Fluent API. It uses state-base logic for wiring together sources, filters, transforms, buffering, and destinations. You can learn more about the internal State Machine, but can be ignored for simple projects. At a high level, the state-machine permits method calls in the following sequence:
parseCsvto convert to Row or
catmethod, and multiple outputs via the
Pnyxobject, which makes method chaining simple.
using (var p = new Pnyx()) p.readString("a,b,c,d") .parseCsv() .print("$4|$3|$2|$1") .writeStdout(); // outputs: d|c|b|a