Package org.neo4j.ogm.cypher.query
Class PagingAndSortingQuery
java.lang.Object
org.neo4j.ogm.cypher.query.PagingAndSortingQuery
- All Implemented Interfaces:
PagingAndSorting
Extends
CypherQuery
with additional functionality for Paging and Sorting.
Only used by queries that return actual nodes and/or relationships from the graph. Other queries
just use CypherQuery
- Author:
- Vince Bickers
-
Constructor Summary
ConstructorDescriptionPagingAndSortingQuery
(String matchClause, String returnClause, Map<String, Object> parameters, boolean returnsPath, boolean hasPredicate) PagingAndSortingQuery
(String matchClause, String returnClause, Map<String, Object> parameters, boolean returnsPath, boolean hasPredicate, String variable) -
Method Summary
Modifier and TypeMethodDescriptionboolean
setPagination
(Pagination pagination) void
setReturnsPath
(boolean returnsPath) setSortOrder
(SortOrder sortOrder)
-
Constructor Details
-
PagingAndSortingQuery
-
PagingAndSortingQuery
-
-
Method Details
-
getStatement
-
needsRowResult
public boolean needsRowResult() -
setPagination
- Specified by:
setPagination
in interfacePagingAndSorting
-
setSortOrder
- Specified by:
setSortOrder
in interfacePagingAndSorting
-
setReturnsPath
public void setReturnsPath(boolean returnsPath) -
getParameters
-