public class SimpleExpression extends Object implements Criterion
Modifier | Constructor and Description |
---|---|
protected |
SimpleExpression(String propertyName,
Object value,
String op) |
protected |
SimpleExpression(String propertyName,
Object value,
String op,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
protected String |
getOp() |
String |
getPropertyName() |
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
Object |
getValue() |
SimpleExpression |
ignoreCase() |
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String |
toString() |
public SimpleExpression ignoreCase()
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.protected final String getOp()
public String getPropertyName()
public Object getValue()
Copyright © 2018 JBoss by Red Hat. All rights reserved.