public interface QueryExecutor<Q extends ElementQuery,R extends JanusGraphElement,B extends BackendQuery>
Modifier and Type | Method and Description |
---|---|
Iterator<R> |
execute(Q query,
B subquery,
Object executionInfo,
QueryProfiler profiler)
Executes the given sub-query against a data store and returns an iterator over the results.
|
Iterator<R> |
getNew(Q query)
Returns all newly created elements in a transactional context that match the given query.
|
boolean |
hasDeletions(Q query)
Whether the transactional context contains any deletions that could potentially affect the result set of the given query.
|
boolean |
isDeleted(Q query,
R result)
Whether the given result entry has been deleted in the transactional context and should hence be removed from the result set.
|
Iterator<R> getNew(Q query)
query
- boolean hasDeletions(Q query)
isDeleted(ElementQuery, org.janusgraph.core.JanusGraphElement)
.query
- boolean isDeleted(Q query, R result)
query
- result
- Iterator<R> execute(Q query, B subquery, Object executionInfo, QueryProfiler profiler)
QueryProcessor
using the other methods
of this interface.query
- subquery
- executionInfo
- profiler
- Copyright © 2012–2023. All rights reserved.