|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
org.datanucleus.store.rdbms.sql.method.StringMatchesMethod
org.datanucleus.store.rdbms.sql.method.StringMatchesDerbyMethod
public class StringMatchesDerbyMethod
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.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod |
|---|
clr, exprFactory, LOCALISER, stmt |
| Constructor Summary | |
|---|---|
StringMatchesDerbyMethod()
|
|
| Method Summary | |
|---|---|
protected BooleanExpression |
getExpressionForStringExpressionInput(SQLExpression expr,
SQLExpression argExpr,
SQLExpression escapeExpr)
|
| Methods inherited from class org.datanucleus.store.rdbms.sql.method.StringMatchesMethod |
|---|
getBooleanLikeExpression, getExpression |
| Methods inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod |
|---|
getMappingForClass, setStatement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringMatchesDerbyMethod()
| Method Detail |
|---|
protected BooleanExpression getExpressionForStringExpressionInput(SQLExpression expr,
SQLExpression argExpr,
SQLExpression escapeExpr)
getExpressionForStringExpressionInput in class StringMatchesMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||