Class QueryPagination


  • public class QueryPagination
    extends java.lang.Object
    When a query produces results that are not included in the data document, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass a `CreateQuerySpecification` object with `paginationToken` set to this object's `nextToken` and with `query` set to this object's `query` in the subsequent `createQuery` request. When there are no more pages to fetch, the `nextToken` field will be absent.
    • Constructor Detail

      • QueryPagination

        public QueryPagination()
    • Method Detail

      • nextToken

        public QueryPagination nextToken​(java.lang.String nextToken)
      • getNextToken

        public java.lang.String getNextToken()
        A token that can be used to fetch the next page of results.
        Returns:
        nextToken
      • setNextToken

        public void setNextToken​(java.lang.String nextToken)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object