All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.api.query.QueryResult Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.api.query;

import java.util.List;

public interface QueryResult {

   /**
    * @return An object containing information about the number of hits from the query, ignoring pagination.
    */
   HitCount count();

   /**
    * @return The results of the query as a List, respecting the bounds specified in {@link Query#startOffset(long)} and
    * {@link Query#maxResults(int)}. This never returns {@code null} but will always be an empty List for {@link Query#executeStatement}.
    */
   List list();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy