public class CQL2 extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toCQL2(Expression expression)
Generates the expression text associated to the
Expression object. |
static String |
toCQL2(Filter filter)
Generates the CQL2 predicate associated to the
Filter object. |
static Expression |
toExpression(String cql2Expression)
Parses the input string in CQL2 format into an Expression, using the systems default
FilterFactory implementation. |
static Expression |
toExpression(String cql2Expression,
FilterFactory filterFactory)
Parses the input string in CQL2 format and makes the correspondent Expression , using the
provided FilterFactory.
|
static Filter |
toFilter(String cql2Predicate)
Parses the input string in CQL2 format into a Filter, using the systems default FilterFactory
implementation.
|
static Filter |
toFilter(String cql2Predicate,
FilterFactory filterFactory)
Parses the input string in CQL2 format into a Filter, using the provided FilterFactory.
|
public static Filter toFilter(String cql2Predicate) throws CQLException
cql2Predicate
- a string containing a query predicate in CQL format.Filter
equivalent to the constraint specified in CQL2
.CQLException
public static Filter toFilter(String cql2Predicate, FilterFactory filterFactory) throws CQLException
cql2Predicate
- a string containing a query predicate in CQL2 format.filterFactory
- the FilterFactory
to use for the creation of the Filter. If it
is null the method finds the default implementation.Filter
equivalent to the constraint specified in Predicate
.CQLException
public static Expression toExpression(String cql2Expression) throws CQLException
FilterFactory
implementation.cql2Expression
- a string containing an CQL2 expression.Expression
equivalent to the one specified in cql2Expression
.CQLException
public static Expression toExpression(String cql2Expression, FilterFactory filterFactory) throws CQLException
cql2Expression
- a string containing a CQL2 expression.filterFactory
- the FilterFactory
to use for the creation of the Expression. If
it is null the method finds the default implementation.Filter
equivalent to the constraint specified in cql2Expression
.CQLException
public static String toCQL2(Filter filter)
Filter
object.public static String toCQL2(Expression expression)
Expression
object.Copyright © 1996–2023 Geotools. All rights reserved.