@Test public void listOfPredicates() throws Exception { List<Filter> list = CQL.toFilterList("QUANTITY=1; YEAR<1963"); Assert.assertTrue(list.size() == 2); Assert.assertTrue(list.get(0) instanceof PropertyIsEqualTo); Assert.assertTrue(list.get(1) instanceof PropertyIsLessThan); }
public static List<Filter> toFilterList(final String cqlFilterList) throws CQLException { List<Filter> filters = CQL.toFilterList(cqlFilterList, null); return filters; }
CQL { public static List<Filter> toFilterList(final String cqlFilterList) throws CQLException { List<Filter> filters = CQL.toFilterList(cqlFilterList, null); return filters; } }
CQL { public static List<Filter> toFilterList(final String cqlFilterList) throws CQLException { List<Filter> filters = CQL.toFilterList(cqlFilterList, null); return filters; } private  CQL(); }
CQL { public static List<Filter> toFilterList(final String cqlFilterList) throws CQLException { List<Filter> filters = CQL.toFilterList(cqlFilterList, null); return filters; } 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); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) static final void main(String[] args); }
CQL { public static List<Filter> toFilterList(final String cqlFilterList) throws CQLException { List<Filter> filters = CQL.toFilterList(cqlFilterList, null); return filters; } 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); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) static final void main(String[] args);  }