public class SimpleOperator extends JdbcCriteria
value operator value.| Constructor and Description |
|---|
SimpleOperator(JdbcProperty property,
String operator,
Object expression)
Initializes a simple operator where the given
property, operator and
expression match. |
| 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 SimpleOperator(JdbcProperty property, String operator, Object expression)
property, operator and
expression match.property - The property to matchoperator - The operator to match withexpression - The expression to match the property againstpublic void parse(String entryKey, StringBuilder whereClause, ParameterRegistry parameters)
JdbcCriteriaparse in class JdbcCriteriaentryKey - 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.