@Test public void relateGeoOperation() throws CQLException { PropertyIsEqualTo filter = (PropertyIsEqualTo) CQL.toFilter( "RELATE(geometry, LINESTRING (-134.921387 58.687767, -135.303391 59.092838), T*****FF*)"); Assert.assertTrue( "Relate Pattern Function was expected", filter.getExpression1() instanceof FilterFunction_relatePattern); Assert.assertTrue("Literal TRUE was expected", filter.getExpression2() instanceof Literal); }
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); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) 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); @SuppressWarnings({"PMD.SystemPrintln", "PMD.CloseResource"}) static final void main(String[] args);  }