Often, getQueryLogs() returns many QueryLog's because it includes system table lookups and whatnot that occur when creating a session. A user may be interested in filtering that list by query type, and having boolean methods on QueryLog could facilitate that:
c.node(0).getLogs().getQueryLogs().stream().filter(QueryLog::isExecute).collect(...)
c.node(0).getLogs().getQueryLogs().stream().filter(QueryLog::isQuery).collect(...)