public class PagingAndSortingQuery extends CypherQuery 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 CypherQueryparameters, statement, withIndex| Modifier | Constructor and Description |
|---|---|
protected |
PagingAndSortingQuery(String cypher,
Map<String,?> parameters) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStatement() |
Pagination |
page() |
PagingAndSortingQuery |
setPagination(Pagination paging) |
PagingAndSortingQuery |
setSortOrder(SortOrder sortOrder) |
SortOrder |
sortOrder() |
getParameters, getResultDataContents, isIncludeStatspublic String getStatement()
getStatement in interface StatementgetStatement in class CypherQuerypublic PagingAndSortingQuery setPagination(Pagination paging)
setPagination in interface PagingAndSortingpublic PagingAndSortingQuery setSortOrder(SortOrder sortOrder)
setSortOrder in interface PagingAndSortingpublic Pagination page()
public SortOrder sortOrder()
Copyright © 2016 Neo Technology, Inc.. All rights reserved.