|
KIE Internal 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of ParametrizedQueryBuilder instance being implemented. This type
is here to facilitate the building of a fluent interface.public interface ParametrizedQueryBuilder<T>
This is the base interface for all ParametrizedQueryBuilder implementations.
| Method Summary | |
|---|---|
T |
ascending()
If the ParametrizedQueryBuilder implementations contains an orderBy( enum )
method, this will set the ordering to ascending. |
T |
clear()
Clear all parameters and meta-criteria |
T |
descending()
If the ParametrizedQueryBuilder implementations contains an orderBy( enum )
method, this will set the ordering to descending. |
T |
equals()
Results retrieved using query criteria added after this method is used, must exactly match the criteria given. |
T |
intersect()
Query criteria which are added to the query after this method are "AND" or "intersection" criteria. |
T |
like()
Query criteria which are added to the query after this method are regular expression (a.k.a "regex") criteria. |
T |
maxResults(int maxResults)
Limit the number of results returned by the query to the specified maximum. |
T |
offset(int offset)
Limit the results returned by excluding the specified number of results (the offset), from the start of the result list. |
T |
union()
Query criteria which are added to the query after this method are "OR" or "union" criteria. |
| Method Detail |
|---|
T union()
T intersect()
T like()
equals()
method.
The following characters may be used:
T equals()
like() method has been used, using this method
will ensure that criteria added after this method are literally
interpreted, and not seen as regular expressions.
This is the default mode for all query builders.
T clear()
T ascending()
ParametrizedQueryBuilder implementations contains an orderBy( enum )
method, this will set the ordering to ascending.
Query results will be ascendingly ordered by default.
If there is no orderBy( enum ) method available, this method will not do anything.
T descending()
ParametrizedQueryBuilder implementations contains an orderBy( enum )
method, this will set the ordering to descending.
If there is no orderBy( enum ) method available, this method will not do anything.
T maxResults(int maxResults)
T offset(int offset)
ascending() and descending().
|
KIE Internal 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||