A ResultSet to writer transform pipeline item takes a result set as input and generates a writer as output. In order to facilitate a custom transform of the result set, the user has to specify in a JSR-223 compliant script, the implementation of the following function:
public abstract void transformRow(ResultSet resultSet, Writer writer);
This will be called once for each row in the result set.