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

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

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, PaginationContext {

   QueryBuilder orderBy(Expression expression);

   QueryBuilder orderBy(Expression expression, SortOrder sortOrder);

   QueryBuilder orderBy(String attributePath);

   QueryBuilder orderBy(String attributePath, SortOrder sortOrder);

   QueryBuilder select(Expression... projection);

   QueryBuilder select(String... attributePath);

   QueryBuilder groupBy(String... attributePath);

   /**
    * Builds the query object. Once built, the query is immutable (except for the named parameters).
    *
    * @return the Query
    */
   Query build();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy