Package org.geotools.data.complex.filter
Class ComplexFilterSplitter
- Object
-
- PostPreProcessFilterSplittingVisitor
-
- ComplexFilterSplitter
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class ComplexFilterSplitter extends PostPreProcessFilterSplittingVisitor
- Author:
- Niels Charlier (Curtin University of Technology)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ComplexFilterSplitter.CapabilitiesExpressionVisitor
-
Field Summary
-
Fields inherited from class PostPreProcessFilterSplittingVisitor
fcs, original, postStack, preStack
-
-
Constructor Summary
Constructors Constructor Description ComplexFilterSplitter(FilterCapabilities fcs, FeatureTypeMapping mappings)
-
Method Summary
-
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, visitNullFilter
-
-
-
-
Constructor Detail
-
ComplexFilterSplitter
public ComplexFilterSplitter(FilterCapabilities fcs, FeatureTypeMapping mappings)
-
-
Method Detail
-
visit
public Object visit(Id filter, Object notUsed)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(Function expression, Object notUsed)
- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visit
protected Object visit(BinaryTemporalOperator filter, Object data)
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visitMathExpression
protected void visitMathExpression(BinaryExpression expression)
- Overrides:
visitMathExpression
in classPostPreProcessFilterSplittingVisitor
-
visitBinarySpatialOperator
protected void visitBinarySpatialOperator(BinarySpatialOperator filter)
- Overrides:
visitBinarySpatialOperator
in classPostPreProcessFilterSplittingVisitor
-
visitBinaryComparisonOperator
protected void visitBinaryComparisonOperator(BinaryComparisonOperator filter)
- Overrides:
visitBinaryComparisonOperator
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(BBOX filter, Object notUsed)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(PropertyIsBetween filter, Object extradata)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
- Parameters:
filter
- theFilter
to visit- See Also:
NOTE: This method is extra documented as an example of how all the other methods are implemented. If you want to know how this class works read this method first!
-
visit
public Object visit(PropertyIsLike filter, Object notUsed)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
visit
public Object visit(PropertyName expression, Object notUsed)
- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classPostPreProcessFilterSplittingVisitor
-
checkAttributeFound
protected void checkAttributeFound(PropertyName expression, XPathUtil.StepList exprSteps, FeatureChainedAttributeVisitor nestedAttrExtractor, FeatureChainedAttributeVisitor existsAttrExtractor, List<FeatureChainedAttributeVisitor.FeatureChainedAttributeDescriptor> fcAttrs)
Attribute error check
-
isXlinkHRef
protected boolean isXlinkHRef(XPathUtil.StepList exprSteps)
-
-