code: public Operator createLikeOperator(Selector ar, String pattern, boolean escaped, char escape)
    {
    Object parsed = Pattern.parsePattern(pattern, escaped, escape);
    if (parsed == null)
      return null;
    else if (parsed == Pattern.matchMany)
      return createOperator(Selector.NOT, createOperator(Selector.ISNULL, ar));
    else if (parsed instanceof String)
      return createOperator(Selector.EQ, ar, createLiteral(parsed));
    else
      return new LikeOperatorImpl(Selector.LIKE, ar, (Pattern) parsed, pattern,
        escaped, escape);
    }
docs: Create a concrete instance of a LikeOperator