public static Predicate is ( final String sql ) { return new Predicate ( ) { public String toSql ( ) { return sql ; } public void init ( AbstractSqlCreator creator ) { } } ; }
Returns a predicate that takes no parameters . The given SQL expression is used directly .