Interface QueryResult<E>

Type Parameters:
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.

public interface QueryResult<E>
Represents the result of a Query.

If the query was executed using Query.executeStatement(), the list of results will be empty and hitCount() will return the number of affected entries.