Package org.geotools.filter.text.cqljson
Class ExpressionToCQL2Json
- Object
-
- ExpressionToCQL2Json
-
- All Implemented Interfaces:
ExpressionVisitor
public class ExpressionToCQL2Json extends Object implements ExpressionVisitor
This class is responsible to convert an expression to a CQL2-JSON expression.
-
-
Constructor Summary
Constructors Constructor Description ExpressionToCQL2Json(ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(Add expression, Object extraData)
Object
visit(Divide expression, Object extraData)
Object
visit(Function expression, Object extraData)
Object
visit(Literal expression, Object extraData)
Object
visit(Multiply expression, Object extraData)
Object
visit(NilExpression expression, Object extraData)
Used to visit a Expression.NIL, also called fornull
where an expression is expected.Object
visit(PropertyName expression, Object extraData)
Object
visit(Subtract expression, Object extraData)
-
-
-
Method Detail
-
visit
public Object visit(NilExpression expression, Object extraData)
Description copied from interface:ExpressionVisitor
Used to visit a Expression.NIL, also called fornull
where an expression is expected.This is particularly useful when doing data transformations, as an example when using a StyleSymbolizer Expression.NIL can be used to represent the default stroke color.
- Specified by:
visit
in interfaceExpressionVisitor
- Returns:
- implementation specific
-
visit
public Object visit(Add expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Divide expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Function expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Multiply expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(PropertyName expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Subtract expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Literal expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
-