presto-cli/src/main/java/io/prestosql/cli/Query.java/Query/doRenderResults
class Query:    private void doRenderResults(PrintStream out, OutputFormat format, boolean interactive, List<Column> columns)
            throws IOException
    {
        if (interactive) {
            pageOutput(format, columns);
        }
        else {
            sendOutput(out, format, columns);
        }
    }