Class StringMatchesDerbyMethod
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.method.StringMatchesMethod
-
- org.datanucleus.store.rdbms.sql.method.StringMatchesDerbyMethod
-
- All Implemented Interfaces:
SQLMethod
public class StringMatchesDerbyMethod extends StringMatchesMethod
Expression handler to evaluate {stringExpression}.matches(StringExpression) for Derby. Adds its own handling of the case of "{StringExpression} LIKE {StringExpression}" case using a Java function NUCLEUS_MATCHES in the datastore since Derby doesn't support "LIKE". Note that any input escape character is ignored.
-
-
Constructor Summary
Constructors Constructor Description StringMatchesDerbyMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BooleanExpression
getExpressionForStringExpressionInput(SQLStatement stmt, SQLExpression expr, SQLExpression argExpr, SQLExpression escapeExpr)
-
Methods inherited from class org.datanucleus.store.rdbms.sql.method.StringMatchesMethod
getBooleanLikeExpression, getExpression
-
-
-
-
Method Detail
-
getExpressionForStringExpressionInput
protected BooleanExpression getExpressionForStringExpressionInput(SQLStatement stmt, SQLExpression expr, SQLExpression argExpr, SQLExpression escapeExpr)
- Overrides:
getExpressionForStringExpressionInput
in classStringMatchesMethod
-
-