Class JDBCWildcardMatch

java.lang.Object
org.apache.openjpa.kernel.exps.WildcardMatch
org.apache.openjpa.jdbc.kernel.exps.JDBCWildcardMatch
All Implemented Interfaces:
Serializable, JDBCFilterListener, FilterListener

@Deprecated public class JDBCWildcardMatch extends WildcardMatch implements JDBCFilterListener
Deprecated.
Use matches() 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:
  • Constructor Details

    • JDBCWildcardMatch

      public JDBCWildcardMatch()
      Deprecated.
  • Method Details

    • 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 interface JDBCFilterListener
      Parameters:
      sql - the SQL buffer to append to
      target - the target to act on, or null if the listener doesn't expect a target
      args - the values of the arguments given in the filter, or null if this listener doesn't expect arguments
      type - the class mapping for the query's candidate class
      store - the store that owns the query