@Test public void likePredicate() throws Exception{ Filter filter = CQL.toFilter("NAME like '%new%'"); Assert.assertTrue(filter instanceof PropertyIsLike); }
public static Filter toFilter(final String cqlPredicate) throws CQLException { Filter filter = CQL.toFilter(cqlPredicate, null); return filter; }
CQL { public static Filter toFilter(final String cqlPredicate) throws CQLException { Filter filter = CQL.toFilter(cqlPredicate, null); return filter; } }
CQL { public static Filter toFilter(final String cqlPredicate) throws CQLException { Filter filter = CQL.toFilter(cqlPredicate, null); return filter; } private  CQL(); }
CQL { public static Filter toFilter(final String cqlPredicate) throws CQLException { Filter filter = CQL.toFilter(cqlPredicate, null); return filter; } private  CQL(); static Filter toFilter(final String cqlPredicate); static Filter toFilter(final String cqlPredicate, final FilterFactory filterFactory); static Expression toExpression(String cqlExpression); static Expression toExpression(final String cqlExpression,
                                          final FilterFactory filterFactory); static List<Filter> toFilterList(final String cqlFilterList); static String toCQL( List<Filter> filterList ); static String toCQL( Filter filter ); static String toCQL( Expression expression ); static List<Filter> toFilterList(final String cqlSequencePredicate, final FilterFactory filterFactory); static final void main(String[] args); }
CQL { public static Filter toFilter(final String cqlPredicate) throws CQLException { Filter filter = CQL.toFilter(cqlPredicate, null); return filter; } private  CQL(); static Filter toFilter(final String cqlPredicate); static Filter toFilter(final String cqlPredicate, final FilterFactory filterFactory); static Expression toExpression(String cqlExpression); static Expression toExpression(final String cqlExpression,
                                          final FilterFactory filterFactory); static List<Filter> toFilterList(final String cqlFilterList); static String toCQL( List<Filter> filterList ); static String toCQL( Filter filter ); static String toCQL( Expression expression ); static List<Filter> toFilterList(final String cqlSequencePredicate, final FilterFactory filterFactory); static final void main(String[] args);  }