QueryWhere
instance to the Query
instancePredicate
from trivial QueryCriteria
(NORMAL/REGEXP/RANGE).Predicate
based on the given QueryCriteria
.CriteriaQuery
.Predicate
This method is overridden in some extended QueryCriteriaUtil
implementationsRoot
from a CriteriaQuery
instanceMap>
passed
as an argument to the constructor.QueryWhere
criteria.QueryParameterIdentifiers
The values of the criteria, which will be applied to the listId field
For example, it could be a list of numbers "1, 22, 3"
Whether this is a union ("OR") or intersection ("AND") critieria
The type of criteria: normal, like (JPQL regex) or range
The grouping information of the phrase (see below)
With regard to the grouping information in this class, we treat JPQL/SQL as a "prefix" language here, which means that
this class represents the following regular expression/BNF string:
[)]{0,} [OR|AND] [(]{0,} <CRITERIA>
This structure is then represented by the following fields:
[endGroups] [union] [startGroupos] [values]
The main reason to include the grouping status in this object is that other data structures (nested lists, etc)
are much harder to de/serialize correctly.QueryCriteriaUtil
implemenations.Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.