presto-cli/src/main/java/io/prestosql/cli/Query.java/Query/discardResults
class Query:    private void discardResults()
    {
        try (OutputHandler handler = new OutputHandler(new NullPrinter())) {
            handler.processRows(client);
        }
        catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }