Package org.geotools.data.mongodb
Class MongoFilterSplitter
- Object
-
- PostPreProcessFilterSplittingVisitor
-
- MongoFilterSplitter
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class MongoFilterSplitter extends PostPreProcessFilterSplittingVisitor
-
-
Field Summary
-
Fields inherited from class PostPreProcessFilterSplittingVisitor
fcs, original, postStack, preStack
-
-
Constructor Summary
Constructors Constructor Description MongoFilterSplitter(FilterCapabilities fcs, SimpleFeatureType parent, ClientTransactionAccessor transactionAccessor, MongoCollectionMeta mongoCollectionMeta)
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(PropertyIsLike filter, Object notUsed)
Object
visit(PropertyIsNull filter, Object notUsed)
protected void
visitBinaryComparisonOperator(BinaryComparisonOperator filter)
protected void
visitBinarySpatialOperator(BinarySpatialOperator filter)
-
Methods inherited from class PostPreProcessFilterSplittingVisitor
getFilterPost, getFilterPre, supports, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMathExpression, visitNullFilter
-
-
-
-
Constructor Detail
-
MongoFilterSplitter
public MongoFilterSplitter(FilterCapabilities fcs, SimpleFeatureType parent, ClientTransactionAccessor transactionAccessor, MongoCollectionMeta mongoCollectionMeta)
Create a new instance.- Parameters:
fcs
- The FilterCapabilties that describes what Filters/Expressions the server can process.parent
- The FeatureType that this filter involves. Why is this needed?transactionAccessor
- If the transaction is handled on the client and not the server then different filters must be sent to the server. This class provides a generic way of
-
-
Method Detail
-
visitBinaryComparisonOperator
protected void visitBinaryComparisonOperator(BinaryComparisonOperator filter)
- Overrides:
visitBinaryComparisonOperator
in classPostPreProcessFilterSplittingVisitor
-
visitBinarySpatialOperator
protected void visitBinarySpatialOperator(BinarySpatialOperator filter)
- Overrides:
visitBinarySpatialOperator
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(PropertyIsLike filter, Object notUsed)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(PropertyIsNull filter, Object notUsed)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
-