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

org.infinispan.query.dsl.QueryBuilder Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.query.dsl;

/**
 * A builder for {@link Query} objects. An instance of this class can be obtained from {@link QueryFactory}.
 *
 * @author [email protected]
 * @since 6.0
 */
public interface QueryBuilder extends FilterConditionBeginContext {

   QueryBuilder orderBy(String attributePath, SortOrder sortOrder);

   QueryBuilder setProjection(String... attributePath);

   QueryBuilder startOffset(long startOffset);

   QueryBuilder maxResults(int maxResults);

   /**
    * Builds the query object. Once built, the query is immutable and can be executed only once.
    *
    * @return the Query
    */
   Q build();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy