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, paramsFields 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, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
PropertyExistsFunction
public PropertyExistsFunction()
-
-
Method Details
-
evaluate
- Returns:
Boolean.TRUEif thefeature'sFeatureTypecontains an attribute named as the property name passed as this function argument,Boolean.FALSEotherwise.
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
Boolean.TRUEif 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.FALSEotherwise.
-