Interface SimplifiableFunction
- All Known Implementing Classes:
NorthFix
public interface SimplifiableFunction
Implemented by functions that can turn themselves into a simpler, more efficient expression, when certain conditions
are met. Called by the SimplifyingfilterVisitor when the arguments of the function are not all literals (in which
case, a one time simplification is performed instead).
-
Method Summary
Modifier and TypeMethodDescriptionsimplify
(FilterFactory ff, FeatureType featureType) Returns a simplified version of the function, or the function itself it cannot be be simplified
-
Method Details
-
simplify
Returns a simplified version of the function, or the function itself it cannot be be simplified- Parameters:
ff
- The filter factory to use for creating new expressions (mandatory, non null)featureType
- The target feature type, if available,null
otherwise- Returns:
- The simplified expression
-