Class RiskscapeFunctionExpression

java.lang.Object
nz.org.riskscape.engine.expr.RiskscapeFunctionExpression
All Implemented Interfaces:
TypedExpression, org.opengis.filter.expression.Expression, org.opengis.filter.expression.Function

@Deprecated public class RiskscapeFunctionExpression extends Object implements org.opengis.filter.expression.Function, TypedExpression
Deprecated.
we don't use these expressions any more

An Expression which applies a RiskscapeFunction

  • Field Summary

    Fields inherited from interface org.opengis.filter.expression.Expression

    NIL
  • Constructor Summary

    Constructors
    Constructor
    Description
    RiskscapeFunctionExpression(@NonNull String name, @NonNull Supplier<nz.org.riskscape.engine.function.RiskscapeFunction> vf, List<? extends org.opengis.filter.expression.Expression> parameters)
    Deprecated.
     
    RiskscapeFunctionExpression(@NonNull String name, @NonNull nz.org.riskscape.engine.function.RiskscapeFunction vf, List<? extends org.opengis.filter.expression.Expression> params)
    Deprecated.
     
    RiskscapeFunctionExpression(@NonNull nz.org.riskscape.engine.function.IdentifiedFunction vf, List<? extends org.opengis.filter.expression.Expression> params)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    accept(org.opengis.filter.expression.ExpressionVisitor visitor, Object extraData)
    Deprecated.
     
    Deprecated.
     
    <T> T
    evaluate(Object object, Class<T> context)
    Deprecated.
     
    nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.types.Type>
    evaluateType(nz.org.riskscape.engine.types.Type sourceType)
    Deprecated.
    The riskscape type this expression will return as a Value
    org.opengis.filter.expression.Literal
    Deprecated.
     
    org.opengis.filter.capability.FunctionName
    Deprecated.
     
    Deprecated.
     
    List<org.opengis.filter.expression.Expression>
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RiskscapeFunctionExpression

      public RiskscapeFunctionExpression(@NonNull @NonNull String name, @NonNull @NonNull nz.org.riskscape.engine.function.RiskscapeFunction vf, List<? extends org.opengis.filter.expression.Expression> params)
      Deprecated.
    • RiskscapeFunctionExpression

      public RiskscapeFunctionExpression(@NonNull @NonNull nz.org.riskscape.engine.function.IdentifiedFunction vf, List<? extends org.opengis.filter.expression.Expression> params)
      Deprecated.
    • RiskscapeFunctionExpression

      public RiskscapeFunctionExpression(@NonNull @NonNull String name, @NonNull @NonNull Supplier<nz.org.riskscape.engine.function.RiskscapeFunction> vf, List<? extends org.opengis.filter.expression.Expression> parameters)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface org.opengis.filter.expression.Function
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getParameters

      public List<org.opengis.filter.expression.Expression> getParameters()
      Deprecated.
      Specified by:
      getParameters in interface org.opengis.filter.expression.Function
    • evaluate

      public Object evaluate(Object scope)
      Deprecated.
      Specified by:
      evaluate in interface org.opengis.filter.expression.Expression
    • evaluateType

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.types.Type> evaluateType(nz.org.riskscape.engine.types.Type sourceType)
      Deprecated.
      Description copied from interface: TypedExpression

      The riskscape type this expression will return as a Value

      Specified by:
      evaluateType in interface TypedExpression
    • accept

      public Object accept(org.opengis.filter.expression.ExpressionVisitor visitor, Object extraData)
      Deprecated.
      Specified by:
      accept in interface org.opengis.filter.expression.Expression
    • getFunctionName

      public org.opengis.filter.capability.FunctionName getFunctionName()
      Deprecated.
      Specified by:
      getFunctionName in interface org.opengis.filter.expression.Function
    • getFallbackValue

      public org.opengis.filter.expression.Literal getFallbackValue()
      Deprecated.
      Specified by:
      getFallbackValue in interface org.opengis.filter.expression.Function
    • evaluate

      public <T> T evaluate(Object object, Class<T> context)
      Deprecated.
      Specified by:
      evaluate in interface org.opengis.filter.expression.Expression