Interface QueryBuilderBase<QB extends QueryBuilderBase<QB,QW>,QW>  
- All Known Subinterfaces:
- CountQueryBuilder,- CriteriaDeleteBuilder,- CriteriaQueryBuilder<QB,,- RT, - QW> - EntityQueryBuilder<T>,- PathQueryBuilder<T>,- PrimaryKeyQueryBuilder,- SinglePathQueryBuilder<T>,- SubqueryBuilder<T>
- All Known Implementing Classes:
- AbstractCriteriaBuilder,- AbstractPathQueryBuilder,- CriteriaCountQueryBuilder,- CriteriaDeleteBuilderImpl,- CriteriaQueryBuilderImpl,- EntityQueryBuilderImpl,- PathQueryBuilderImpl,- PrimaryKeyQueryBuilderImpl,- QueryBuilderBaseImpl,- SinglePathQueryBuilderImpl,- SubqueryBuilderImpl
public interface QueryBuilderBase<QB extends QueryBuilderBase<QB,QW>,QW>  
Base interface for query builders.
- 
Method SummaryModifier and TypeMethodDescriptionaddParameter(String name, Object value) If a condition with an explicit parameter expression was added to the query, this method can be used to set the parameter values.build()This method should be called when the query configuration is complete.List<jakarta.persistence.criteria.Predicate> jakarta.persistence.criteria.From<?, ?> where(PredicateBuilder predicateBuilder) where(jakarta.persistence.criteria.Predicate... predicate) default QBwhere(Collection<Condition> condition) Adds a collection of conditions to the query.whereInsecure(Node condition) Conditions added through this method are *not* decorated with any security conditions.whereInsecure(PredicateBuilder predicateBuilder) whereInsecure(Condition... condition) Conditions added through this method are *not* decorated with any security conditions.
- 
Method Details- 
getCriteriaBuilderCriteriaBuilderWrapper getCriteriaBuilder()- Returns:
- the CriteriaBuilderthat can be used to create conditions that can be passed towhere(Predicate...)
 
- 
getQueryRootjakarta.persistence.criteria.From<?,?> getQueryRoot()- Returns:
- the RootorJoininstance that represents the root entity of the query
 
- 
getSubqueryFactoryPredicateBuilder.SubqueryFactory getSubqueryFactory()- Returns:
- an instance of PredicateBuilder.SubqueryFactorythat can be used to create subqueries
 
- 
getPredicatesList<jakarta.persistence.criteria.Predicate> getPredicates()- Returns:
- all conditions of the query
 
- 
addParameterIf a condition with an explicit parameter expression was added to the query, this method can be used to set the parameter values.
- 
where
- 
whereInsecure
- 
where
- 
where
- 
whereInsecureConditions added through this method are *not* decorated with any security conditions. User supplied conditions should never be passed to this method.
- 
where
- 
whereAdds a collection of conditions to the query.
- 
whereInsecureConditions added through this method are *not* decorated with any security conditions. User supplied conditions should never be passed to this method.
- 
buildQW build()This method should be called when the query configuration is complete.QueryBuilderInterceptorare also called at this point.- Returns:
- an object that allows to access the query results
 
 
-