public class CollectionOperator extends JpaCriteria
| Constructor and Description |
|---|
CollectionOperator(JpaProperty property,
String operator,
Object expression)
Initializes the operator matching given
property against the given expression using
the given operator. |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
Parses the criteria to a JPA compatible where clause and parameter values.
|
and, orpublic CollectionOperator(JpaProperty property, String operator, Object expression)
property against the given expression using
the given operator.property - The property to matchoperator - The JPA operator to match the property against the expressionexpression - The expression to match againstpublic void parse(String entryKey, StringBuilder whereClause, ParameterRegistry parameters)
JpaCriteriaparse in class JpaCriteriaentryKey - The variable assigned to the entry in the whereClausewhereClause - The buffer to write the where clause to.parameters - The registry where parameters and assigned values can be registered.Copyright © 2010-2014. All Rights Reserved.