class Expression extends java.lang.Object
A base class for all Expressions.
You can create a literal Expression by passing a value:
Expression e = new Expression(12)
| Modifiers | Name | Description |
|---|---|---|
protected static FilterFactory |
filterFactory |
The GeoTools FilterFactory |
| Type | Name and description |
|---|---|
Expression |
exprThe wrapped GeoTools Expression |
| Constructor and description |
|---|
Expression
(Expression e)Create a new Expression from a GeoTools Expression |
Expression
(Expression e)Create a new Expression from an existing Expression |
Expression
(java.lang.Object value)Create a new Expression from a value |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
evaluate(java.lang.Object obj)Evaluate the Filter against an Object (commonly a Feature) |
|
static Expression |
fromCQL(java.lang.String cql)Create a new Expression from a CQL statement |
|
java.lang.Object |
getValue()Get the underlying value of the Expression |
|
java.lang.String |
toString()The String representation |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The GeoTools FilterFactory
The wrapped GeoTools Expression
Create a new Expression from a GeoTools Expression
e - The GeoTools ExpressionCreate a new Expression from an existing Expression
e - The existing ExpressionCreate a new Expression from a value
value - The valueEvaluate the Filter against an Object (commonly a Feature)
obj - Some ObjectCreate a new Expression from a CQL statement
cql - The CQL statementGet the underlying value of the Expression
The String representation
Groovy Documentation