org.datanucleus.store.rdbms.sql.method
Class StringMatchesDerbyMethod
java.lang.Object
org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringMatchesDerbyMethod
public StringMatchesDerbyMethod()
getExpressionForStringExpressionInput
protected BooleanExpression getExpressionForStringExpressionInput(SQLExpression expr,
SQLExpression argExpr,
SQLExpression escapeExpr)
- Overrides:
getExpressionForStringExpressionInput in class StringMatchesMethod
Copyright © 2012. All Rights Reserved.