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, or
public 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)
JdbcCriteria
parse
in class JdbcCriteria
entryKey
- 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.