public class PagingAndSortingQuery extends Object implements PagingAndSorting
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| Constructor and Description |
|---|
PagingAndSortingQuery(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) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getParameters() |
String |
getStatement() |
boolean |
needsRowResult() |
PagingAndSortingQuery |
setPagination(Pagination pagination) |
void |
setReturnsPath(boolean returnsPath) |
PagingAndSortingQuery |
setSortOrder(SortOrder sortOrder) |
public PagingAndSortingQuery(String matchClause, String returnClause, Map<String,Object> parameters, boolean returnsPath, boolean hasPredicate)
public String getStatement()
public boolean needsRowResult()
public PagingAndSortingQuery setPagination(Pagination pagination)
setPagination in interface PagingAndSortingpublic PagingAndSortingQuery setSortOrder(SortOrder sortOrder)
setSortOrder in interface PagingAndSortingpublic void setReturnsPath(boolean returnsPath)
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.