Skip to content

Add some boolean methods to QueryLog #63

@stamhankar999

Description

@stamhankar999

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(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions