Package org.kie.internal.query
Interface ExtendedParametrizedQueryBuilder<T,R>
- Type Parameters:
T- The type ofParametrizedQueryBuilderinstance being implemented. This type is here to facilitate the building of a fluent interface.R- The type of the result list being returned by the generatedParametrizedQuery
- All Superinterfaces:
ParametrizedQueryBuilder<T>
- All Known Subinterfaces:
AuditLogQueryBuilder<T,,R> AuditTaskQueryBuilder,NodeInstanceLogQueryBuilder,ProcessIdQueryBuilder<T,,R> ProcessInstanceIdQueryBuilder<T,,R> ProcessInstanceLogQueryBuilder,TaskAuditQueryBuilder<T,,R> TaskEventQueryBuilder,TaskSummaryQueryBuilder,TaskVariableQueryBuilder,VariableInstanceLogQueryBuilder
This is the base interface for all
ParametrizedQueryBuilder implementations.
It includes the basic query functions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create theParametrizedQueryinstance that can be used to retrieve the results, a {@link List<TaskSummary>} instance.endGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria.newGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria.
-
Method Details
-
newGroup
T newGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria. In other words, the query will only return results which match all of the criteria added (as opposed to returning results that match any of the criteria added).- Returns:
- the current query builder instance
-
endGroup
T endGroup()Query criteria which are added to the query after this method are "AND" or "intersection" criteria. In other words, the query will only return results which match all of the criteria added (as opposed to returning results that match any of the criteria added).- Returns:
- the current query builder instance
-
build
ParametrizedQuery<R> build()Create theParametrizedQueryinstance that can be used to retrieve the results, a {@link List<TaskSummary>} instance. Further modifications to theTaskQueryBuilderinstance will not affect the query criteria used in theParametrizedQueryproduced by this method.- Returns:
- The results of the query
-