geotools.org/latest/userguide/guide/library/cql/internal.html">BNF of grammar to see what exactly you can do.
Filter f = CQL.toFilter("ATTR1 < 10 AND ATTR2 < 2 OR ATTR3 > 10"); Filter f = CQL.toFilter("NAME = 'New York' "); Filter f = CQL.toFilter("NAME LIKE 'New%' "); Filter f = CQL.toFilter("NAME IS NULL"); Filter f = CQL.toFilter("DATE BEFORE 2006-11-30T01:30:00Z"); Filter f = CQL.toFilter("NAME DOES-NOT-EXIST"); Filter f = CQL.toFilter("QUANTITY BETWEEN 10 AND 20"); Filter f = CQL.toFilter("CROSSES(SHAPE, LINESTRING(1 2, 10 15))"); Filter f = CQL.toFilter("BBOX(SHAPE, 10,20,30,40)"); Expression e = CQL.toExpression("NAME"); Expression e = CQL.toExpression("QUANTITY * 2"); Expression e = CQL.toExpression("strConcat(NAME, 'suffix')"); List filters = CQL.toFilterList("NAME IS NULL;BBOX(SHAPE, 10,20,30,40);INCLUDE");
Implementation specification 1.0
@since 2.5
@author Mauricio Pazos (Axios Engineering)
@author Gabriel Roldan (Axios Engineering)
@version $Id$
@source $URL$