@Test public void geoOperationPredicate() throws CQLException{ Filter filter; filter = ECQL.toFilter("INTERSECTS(the_geom, POINT(1 2))"); Assert.assertTrue("Disjoint was expected", filter instanceof Intersects); filter = ECQL.toFilter("INTERSECTS(buffer(the_geom, 10) , POINT(1 2))"); Assert.assertTrue("Disjoint was expected", filter instanceof Intersects); }
public static Filter toFilter(final String ecqlPredicate) throws CQLException { Filter filter = ECQL.toFilter(ecqlPredicate, null); return filter; }
ECQL { public static Filter toFilter(final String ecqlPredicate) throws CQLException { Filter filter = ECQL.toFilter(ecqlPredicate, null); return filter; } }
ECQL { public static Filter toFilter(final String ecqlPredicate) throws CQLException { Filter filter = ECQL.toFilter(ecqlPredicate, null); return filter; } private  ECQL(); }
ECQL { public static Filter toFilter(final String ecqlPredicate) throws CQLException { Filter filter = ECQL.toFilter(ecqlPredicate, null); return filter; } 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 String toCQL( Expression expression ); static final void main(String[] args); }
ECQL { public static Filter toFilter(final String ecqlPredicate) throws CQLException { Filter filter = ECQL.toFilter(ecqlPredicate, null); return filter; } 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 String toCQL( Expression expression ); static final void main(String[] args);  }