Class StringValue

java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,String>
ca.uqac.lif.cep.json.StringValue
All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction

public class StringValue extends ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,String>
Extracts a number value from a JSON element.
Author:
Sylvain Hallé
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StringValue
     

    Fields inherited from class ca.uqac.lif.cep.functions.Function

    s_maxInputArity
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getValue(ca.uqac.lif.json.JsonElement x)
     

    Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction

    duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset

    Methods inherited from class ca.uqac.lif.cep.functions.Function

    duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • instance

      public static final transient StringValue instance
  • Constructor Details

    • StringValue

      protected StringValue()
  • Method Details

    • getValue

      public String getValue(ca.uqac.lif.json.JsonElement x)
      Specified by:
      getValue in class ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,String>