public abstract class AbstractGraphRepositoryQuery extends Object implements RepositoryQuery
RepositoryQuery
s.Modifier | Constructor and Description |
---|---|
protected |
AbstractGraphRepositoryQuery(GraphQueryMethod method,
org.neo4j.ogm.session.Session session) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doExecute(Query params,
Object[] parameters) |
Object |
execute(Object[] parameters) |
protected GraphQueryExecution |
getExecution(GraphParameterAccessor accessor) |
protected abstract Query |
getQuery(Object[] parameters) |
GraphQueryMethod |
getQueryMethod() |
protected abstract boolean |
isCountQuery()
Returns whether the query should get a count projection applied.
|
protected abstract boolean |
isDeleteQuery()
Return weather the query should delete matching documents.
|
protected abstract boolean |
isExistsQuery()
Returns whether the query should get an exists projection applied.
|
protected AbstractGraphRepositoryQuery(GraphQueryMethod method, org.neo4j.ogm.session.Session session)
public Object execute(Object[] parameters)
execute
in interface RepositoryQuery
public GraphQueryMethod getQueryMethod()
getQueryMethod
in interface RepositoryQuery
protected GraphQueryExecution getExecution(GraphParameterAccessor accessor)
protected abstract boolean isCountQuery()
protected abstract boolean isExistsQuery()
protected abstract boolean isDeleteQuery()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.