|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.exps.StringContains
org.apache.openjpa.jdbc.kernel.exps.JDBCStringContains
matches()
instead.
public class JDBCStringContains
Tests if the target contains the given argument. The argument must be
a constant.
Examples:
"address.street.ext:stringContains (\"main\")"
Field Summary |
---|
Fields inherited from class org.apache.openjpa.kernel.exps.StringContains |
---|
TAG |
Constructor Summary | |
---|---|
JDBCStringContains()
Deprecated. |
Method Summary | |
---|---|
void |
appendTo(SQLBuffer buf,
FilterValue target,
FilterValue[] args,
ClassMapping type,
JDBCStore store)
Deprecated. Append the SQL for this expression or value. |
Methods inherited from class org.apache.openjpa.kernel.exps.StringContains |
---|
evaluate, expectsArguments, expectsTarget, getTag, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.openjpa.kernel.exps.FilterListener |
---|
evaluate, expectsArguments, expectsTarget, getTag, getType |
Constructor Detail |
---|
public JDBCStringContains()
Method Detail |
---|
public void appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)
JDBCFilterListener
appendTo
in interface JDBCFilterListener
buf
- the SQL buffer to append totarget
- the target to act on, or null if the listener
doesn't expect a targetargs
- the values of the arguments given in the filter, or
null if this listener doesn't expect argumentstype
- the class mapping for the query's candidate classstore
- the store that owns the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |