Package graphql.relay
Interface PageInfo
- All Known Implementing Classes:
DefaultPageInfo
Represents pagination information in Relay about
edges when used
inside a connection
See https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo-
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean
-
Method Details
-
getStartCursor
ConnectionCursor getStartCursor()- Returns:
- cursor to the first edge, or null if this page is empty.
-
getEndCursor
ConnectionCursor getEndCursor()- Returns:
- cursor to the last edge, or null if this page is empty.
-
isHasPreviousPage
boolean isHasPreviousPage()- Returns:
- true if and only if this page is not the first page. only meaningful when you gave the
lastargument.
-
isHasNextPage
boolean isHasNextPage()- Returns:
- true if and only if this page is not the last page. only meaningful when you gave the
firstargument.
-