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

abstract class LeafExpression<R,V> extends Node implements FeatureExpression<R,V>
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
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • LeafExpression

      LeafExpression()
      Creates a new property reader.
  • Method Details

    • getParameters

      public final List<Expression<? super R,?>> getParameters()
      Returns the expression used as parameters for this function, which is an empty list.
      Specified by:
      getParameters in interface Expression<R,V>
      Returns:
      the sub-expressions to be evaluated, or an empty list if none.