Package org.geotools.filter.function
Class PropertyExistsFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
PropertyExistsFunction
- All Implemented Interfaces:
Expression
,Function
,FunctionExpression
,Factory
A new function to check if a property exists.
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, params
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toString
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
Methods inherited from class ExpressionAbstract
evaluate
Methods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
PropertyExistsFunction
public PropertyExistsFunction()
-
-
Method Details
-
evaluate
- Returns:
Boolean.TRUE
if thefeature
'sFeatureType
contains an attribute named as the property name passed as this function argument,Boolean.FALSE
otherwise.
-
evaluate
Description copied from class:ExpressionAbstract
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionExpressionImpl
- Returns:
Boolean.TRUE
if the Class of the object passed as argument defines a property names as the property name passed as this function argument, following the standard Java Beans naming conventions for getters.Boolean.FALSE
otherwise.
-