presto-cli/src/main/java/io/prestosql/cli/Query.java/Query/createOutputHandler
class Query:    private static OutputHandler createOutputHandler(OutputFormat format, Writer writer, List<Column> columns)
    {
        return new OutputHandler(createOutputPrinter(format, writer, columns));
    }