E - The type of the result. Queries having projections (a SELECT clause) will return an Object[] for each
result, with the field values. When not using SELECT, the results will contain instances of objects
corresponding to the cache values matching the query.
All Superinterfaces:
org.infinispan.commons.api.query.QueryResult<E>
public interface QueryResult<E>
extends org.infinispan.commons.api.query.QueryResult<E>
The number of hits from the query, ignoring pagination. When the query is non-indexed, for performance
reasons, the hit count is not calculated and will return OptionalLong.empty().
count
org.infinispan.commons.api.query.HitCountcount()
Specified by:
count in interface org.infinispan.commons.api.query.QueryResult<E>
Returns:
An object containing information about the number of hits from the query, ignoring pagination.
count()