Class Results<T>

    • Method Detail

      • getOperationResult

        public OperationResult getOperationResult()
        Returns:
        the result of the search operation
      • getNumberFound

        public long getNumberFound()
        The number of results found by the search. If the value is less than or equal to the corresponding QueryOptions.getNumberFoundAccuracy(), then it is accurate, otherwise it is an approximation
        Returns:
        the number of results found
      • getNumberReturned

        public int getNumberReturned()
        Returns:
        the number of results returned
      • getResults

        public Collection<T> getResults()
        Returns:
        an unmodifiable collection of search results
      • getFacets

        public Collection<FacetResult> getFacets()
        Returns:
        an unmodifiable collection of aggregated facets for this search results
      • getCursor

        public Cursor getCursor()
        A cursor to be used to continue the search after all the results in this search response. For this field to be populated, use QueryOptions.Builder.setCursor(com.google.appengine.api.search.Cursor) with a value of Cursor.newBuilder().build(), otherwise getCursor() will return null.
        Returns:
        cursor to be used to get the next set of results after the end of these results, or null if there are no more results to be expected or if no cursor was configured in the QueryOptions.