Package org.apache.sis.filter
Class LeafExpression<R,V>
java.lang.Object
org.apache.sis.internal.filter.Node
org.apache.sis.filter.LeafExpression<R,V>
- Type Parameters:
R- the type of resources (e.g.Feature) used as inputs.V- the type of value computed by the expression.
- All Implemented Interfaces:
Serializable,Function<R,,V> Expression<R,,V> FeatureExpression<R,V>
- Direct Known Subclasses:
AssociationValue,LeafExpression.Literal,PropertyValue
Expressions that do not depend on any other expression.
Those expression may read value from a feature property, or return a constant value.
- Since:
- 1.1
- Version:
- 1.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classA constant, literal value that can be used in expressions.(package private) static final classA literal value which is the result of transforming another literal. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor cross-version compatibility. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<Expression<? super R,?>> Returns the expression used as parameters for this function, which is an empty list.Methods inherited from class org.apache.sis.internal.filter.Node
createName, createType, equals, getChildren, getGeometryLibrary, hashCode, symbol, toGeometryWrapper, toString, unwrap, warningMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sis.filter.Expression
apply, getFunctionName, toValueTypeMethods inherited from interface org.apache.sis.internal.feature.FeatureExpression
expectedType, getValueClass
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
LeafExpression
LeafExpression()Creates a new property reader.
-
-
Method Details
-
getParameters
Returns the expression used as parameters for this function, which is an empty list.- Specified by:
getParametersin interfaceExpression<R,V> - Returns:
- the sub-expressions to be evaluated, or an empty list if none.
-