@Test public void toExpressionUsesProvidedFilterFactory() throws Exception { final boolean[] called = {false}; FilterFactory ff = new FilterFactoryImpl() { public PropertyName property(String propName) { called[0] = true; return super.property(propName); } }; ECQL.toExpression("attName", ff); Assert.assertTrue("Provided FilterFactory was not called", called[0]); }
public static Expression toExpression(String ecqlExpression) throws CQLException { return toExpression(ecqlExpression, null); }
ECQL { public static Expression toExpression(String ecqlExpression) throws CQLException { return toExpression(ecqlExpression, null); } }
ECQL { public static Expression toExpression(String ecqlExpression) throws CQLException { return toExpression(ecqlExpression, null); } private  ECQL(); }
ECQL { public static Expression toExpression(String ecqlExpression) throws CQLException { return toExpression(ecqlExpression, null); } 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 Expression toExpression(String ecqlExpression) throws CQLException { return toExpression(ecqlExpression, null); } 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);  }