public class LikeExpression extends Object implements Criterion
Modifier | Constructor and Description |
---|---|
protected |
LikeExpression(String propertyName,
String value) |
protected |
LikeExpression(String propertyName,
String value,
Character escapeChar,
boolean ignoreCase) |
protected |
LikeExpression(String propertyName,
String value,
MatchMode matchMode) |
protected |
LikeExpression(String propertyName,
String value,
MatchMode matchMode,
Character escapeChar,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
protected LikeExpression(String propertyName, String value, Character escapeChar, boolean ignoreCase)
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria querypublic TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryCopyright © 2016 JBoss by Red Hat. All rights reserved.