Class StringSimilarPostgresqlMethod

  • All Implemented Interfaces:
    SQLMethod

    public class StringSimilarPostgresqlMethod
    extends StringMatchesMethod
    Support for a String.matches like functionality but using Postgresql's "SIMILAR TO" operator. This is mapped to the Java function "String.similarTo" as an extension so it is available for use. A unit test fails if trying to use it as String.matches.