Class RiskscapeFunctionExpression

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

@Deprecated public class RiskscapeFunctionExpression extends Object implements org.geotools.api.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.geotools.api.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.geotools.api.filter.expression.Expression> parameters)
    Deprecated.
     
    RiskscapeFunctionExpression(@NonNull String name, @NonNull nz.org.riskscape.engine.function.RiskscapeFunction vf, List<? extends org.geotools.api.filter.expression.Expression> params)
    Deprecated.
     
    RiskscapeFunctionExpression(@NonNull nz.org.riskscape.engine.function.IdentifiedFunction vf, List<? extends org.geotools.api.filter.expression.Expression> params)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    accept(org.geotools.api.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.geotools.api.filter.expression.Literal
    Deprecated.
     
    org.geotools.api.filter.capability.FunctionName
    Deprecated.
     
    Deprecated.
     
    List<org.geotools.api.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.geotools.api.filter.expression.Expression> params)
      Deprecated.
    • RiskscapeFunctionExpression

      public RiskscapeFunctionExpression(@NonNull @NonNull nz.org.riskscape.engine.function.IdentifiedFunction vf, List<? extends org.geotools.api.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.geotools.api.filter.expression.Expression> parameters)
      Deprecated.
  • Method Details

    • getName

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

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

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

      public Object evaluate(Object scope)
      Deprecated.
      Specified by:
      evaluate in interface org.geotools.api.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.geotools.api.filter.expression.ExpressionVisitor visitor, Object extraData)
      Deprecated.
      Specified by:
      accept in interface org.geotools.api.filter.expression.Expression
    • getFunctionName

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

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

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