@Test public void functionExpressionToCQL() throws Exception { Expression[] absArgs = new Expression[1]; FilterFactory ff = CommonFactoryFinder.getFilterFactory((Hints) null); absArgs[0] = ff.literal(10); Function abs = ff.function("abs", absArgs); String resultECQL = ECQL.toCQL(abs); Assert.assertEquals("abs(10)", resultECQL); }
public static String toCQL(List<Filter> filterList) { FilterToECQL toECQL = new FilterToECQL(isEwktEncodingEnabled()); StringBuilder output = new StringBuilder(); Iterator<Filter> iter = filterList.iterator(); while (iter.hasNext()) { Filter filter = iter.next(); filter.accept(toECQL, output); if (iter.hasNext()) { output.append("; "); } } return output.toString(); }
ECQL { public static String toCQL(List<Filter> filterList) { FilterToECQL toECQL = new FilterToECQL(isEwktEncodingEnabled()); StringBuilder output = new StringBuilder(); Iterator<Filter> iter = filterList.iterator(); while (iter.hasNext()) { Filter filter = iter.next(); filter.accept(toECQL, output); if (iter.hasNext()) { output.append("; "); } } return output.toString(); } }
ECQL { public static String toCQL(List<Filter> filterList) { FilterToECQL toECQL = new FilterToECQL(isEwktEncodingEnabled()); StringBuilder output = new StringBuilder(); Iterator<Filter> iter = filterList.iterator(); while (iter.hasNext()) { Filter filter = iter.next(); filter.accept(toECQL, output); if (iter.hasNext()) { output.append("; "); } } return output.toString(); } private  ECQL(); }
ECQL { public static String toCQL(List<Filter> filterList) { FilterToECQL toECQL = new FilterToECQL(isEwktEncodingEnabled()); StringBuilder output = new StringBuilder(); Iterator<Filter> iter = filterList.iterator(); while (iter.hasNext()) { Filter filter = iter.next(); filter.accept(toECQL, output); if (iter.hasNext()) { output.append("; "); } } return output.toString(); } private  ECQL(); static Filter toFilter(final String ecqlPredicate); static Filter toFilter(final String ecqlPredicate, final FilterFactory filterFactory); static Expression toExpression(String ecqlExpression); static Expression toExpression(
            final String ecqlExpression, final FilterFactory filterFactory); static List<Filter> toFilterList(final String ecqlSequencePredicate); static List<Filter> toFilterList(
            final String ecqlSequencePredicate, FilterFactory filterFactory); static String toCQL(List<Filter> filterList); static String toCQL(Filter filter); static boolean isEwktEncodingEnabled(); static String toCQL(Expression expression); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) static final void main(String[] args); }
ECQL { public static String toCQL(List<Filter> filterList) { FilterToECQL toECQL = new FilterToECQL(isEwktEncodingEnabled()); StringBuilder output = new StringBuilder(); Iterator<Filter> iter = filterList.iterator(); while (iter.hasNext()) { Filter filter = iter.next(); filter.accept(toECQL, output); if (iter.hasNext()) { output.append("; "); } } return output.toString(); } private  ECQL(); static Filter toFilter(final String ecqlPredicate); static Filter toFilter(final String ecqlPredicate, final FilterFactory filterFactory); static Expression toExpression(String ecqlExpression); static Expression toExpression(
            final String ecqlExpression, final FilterFactory filterFactory); static List<Filter> toFilterList(final String ecqlSequencePredicate); static List<Filter> toFilterList(
            final String ecqlSequencePredicate, FilterFactory filterFactory); static String toCQL(List<Filter> filterList); static String toCQL(Filter filter); static boolean isEwktEncodingEnabled(); static String toCQL(Expression expression); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) static final void main(String[] args);  }