X
- The concrete builder typeConfigurationSource
, ParameterHolder<X>
, ServiceProvider
BaseCriteriaBuilder<T,X>
, BaseCTECriteriaBuilder<X>
, BaseQueryBuilder<T,X>
, BaseSubqueryBuilder<X>
, CriteriaBuilder<T>
, DeleteCriteriaBuilder<T>
, FinalSetOperationCriteriaBuilder<T>
, FullQueryBuilder<T,X>
, FullSelectCTECriteriaBuilder<X>
, InsertCriteriaBuilder<T>
, LeafOngoingSetOperationCriteriaBuilder<X>
, LeafOngoingSetOperationCTECriteriaBuilder<X>
, LeafOngoingSetOperationSubqueryBuilder<X>
, ModificationCriteriaBuilder<X>
, OngoingSetOperationCriteriaBuilder<T,Y>
, OngoingSetOperationCTECriteriaBuilder<T,Y>
, OngoingSetOperationSubqueryBuilder<T,Y>
, PaginatedCriteriaBuilder<T>
, QueryBuilder<T,X>
, ReturningDeleteCriteriaBuilder<T,X>
, ReturningInsertCriteriaBuilder<T,X>
, ReturningModificationCriteriaBuilder<X,Y>
, ReturningUpdateCriteriaBuilder<T,X>
, SelectBaseCTECriteriaBuilder<X>
, SelectCTECriteriaBuilder<X>
, SelectRecursiveCTECriteriaBuilder<X>
, StartOngoingSetOperationCriteriaBuilder<X,Y>
, StartOngoingSetOperationCTECriteriaBuilder<X,Y>
, StartOngoingSetOperationSubqueryBuilder<X,Y>
, SubqueryBuilder<T>
, UpdateCriteriaBuilder<T>
public interface CommonQueryBuilder<X extends CommonQueryBuilder<X>> extends ServiceProvider, ConfigurationSource, ParameterHolder<X>
Modifier and Type | Method | Description |
---|---|---|
CriteriaBuilderFactory |
getCriteriaBuilderFactory() |
The criteria builder factory that created this or it's parent builder.
|
javax.persistence.metamodel.Metamodel |
getMetamodel() |
Returns the JPA
Metamodel of the persistence unit which is used by this query builder. |
boolean |
isCacheable() |
Returns whether the query result should be cached.
|
X |
registerMacro(String macroName,
JpqlMacro jpqlMacro) |
Registers the given jpql macro for this query builder.
|
X |
setCacheable(boolean cacheable) |
Configures whether the query result should be cached.
|
X |
setProperties(Map<String,String> properties) |
Overwrites the properties with the given set of properties.
|
X |
setProperty(String propertyName,
String propertyValue) |
Sets a configuration property with the given propertyName to the given propertyValue.
|
getProperties, getProperty
containsParameter, getParameter, getParameters, getParameterValue, isParameterSet, setParameter, setParameter, setParameter, setParameterType
getService
javax.persistence.metamodel.Metamodel getMetamodel()
Metamodel
of the persistence unit which is used by this query builder.CriteriaBuilderFactory getCriteriaBuilderFactory()
X registerMacro(String macroName, JpqlMacro jpqlMacro)
macroName
- The name of the macrojpqlMacro
- The jpql macroX setProperty(String propertyName, String propertyValue)
propertyName
- The name of the propertypropertyValue
- The value of the propertyX setProperties(Map<String,String> properties)
properties
- The new propertiesX setCacheable(boolean cacheable)
cacheable
- Whether the query result should be cachedboolean isCacheable()
Copyright © 2014–2019 Blazebit. All rights reserved.