Interface ObjectPaging

    • Method Detail

      • hasOrdering

        boolean hasOrdering()
      • hasGrouping

        boolean hasGrouping()
      • hasCookie

        boolean hasCookie()
      • setGrouping

        void setGrouping​(ItemPath groupBy)
      • addGroupingInstruction

        void addGroupingInstruction​(ItemPath groupBy)
      • setOffset

        void setOffset​(Integer offset)
      • setMaxSize

        void setMaxSize​(Integer maxSize)
      • getCookie

        String getCookie()
        Returns the paging cookie. The paging cookie is used for optimization of paged searches. The presence of the cookie may allow the data store to correlate queries and associate them with the same server-side context. This may allow the data store to reuse the same pre-computed data. We want this as the sorted and paged searches may be quite expensive. It is expected that the cookie returned from the search will be passed back in the options when the next page of the same search is requested. It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable context it will return a cookie in a search response.
      • setCookie

        void setCookie​(String cookie)
        Sets paging cookie. The paging cookie is used for optimization of paged searches. The presence of the cookie may allow the data store to correlate queries and associate them with the same server-side context. This may allow the data store to reuse the same pre-computed data. We want this as the sorted and paged searches may be quite expensive. It is expected that the cookie returned from the search will be passed back in the options when the next page of the same search is requested. It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable context it will return a cookie in a search response.
      • equals

        boolean equals​(Object o,
                       boolean exact)