Class JDBCWildcardMatch
- java.lang.Object
-
- org.apache.openjpa.kernel.exps.WildcardMatch
-
- org.apache.openjpa.jdbc.kernel.exps.JDBCWildcardMatch
-
- All Implemented Interfaces:
java.io.Serializable
,JDBCFilterListener
,FilterListener
@Deprecated public class JDBCWildcardMatch extends WildcardMatch implements JDBCFilterListener
Deprecated.Usematches()
instead.Tests if the target matches the wildcard expression given in the argument. The wildcard '?' is used to represent any single character, while '*' is used to represent any series of 0 or more characters. Examples:
"address.street.ext:wildcardMatch (\"?ain*reet\")"
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.kernel.exps.WildcardMatch
TAG
-
-
Constructor Summary
Constructors Constructor Description JDBCWildcardMatch()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
appendTo(SQLBuffer sql, 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.WildcardMatch
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
-
-
-
-
Method Detail
-
appendTo
public void appendTo(SQLBuffer sql, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)
Deprecated.Description copied from interface:JDBCFilterListener
Append the SQL for this expression or value.- Specified by:
appendTo
in interfaceJDBCFilterListener
- Parameters:
sql
- 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
-
-