Package org.infinispan.commons.api.query
Interface QueryResult<T>
- All Known Subinterfaces:
QueryResult<E>
public interface QueryResult<T>
-
Method Summary
-
Method Details
-
count
HitCount count()- Returns:
- An object containing information about the number of hits from the query, ignoring pagination.
-
list
- Returns:
- The results of the query as a List, respecting the bounds specified in
Query.startOffset(long)
andQuery.maxResults(int)
. This never returnsnull
but will always be an empty List forQuery.executeStatement()
.
-