Class NamedParameterExpression

java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.NamedParameterExpression
All Implemented Interfaces:
Expression, Serializable

public class NamedParameterExpression extends ExpressionBase
Named parameter expression of the form "name:expression" or "name:(expression, expression...)"
See Also:
  • Constructor Details

    • NamedParameterExpression

      public NamedParameterExpression()
      Ctor.
    • NamedParameterExpression

      public NamedParameterExpression(String name)
      Ctor.
      Parameters:
      name - substitution parameter name
  • Method Details

    • getName

      public String getName()
      Returns the parameter name.
      Returns:
      name
    • setName

      public void setName(String name)
      Sets the parameter name.
      Parameters:
      name - name to set
    • getPrecedence

      public ExpressionPrecedenceEnum getPrecedence()
      Description copied from interface: Expression
      Returns precedence.
      Returns:
      precedence
    • toPrecedenceFreeEPL

      public void toPrecedenceFreeEPL(StringWriter writer)
      Description copied from class: ExpressionBase
      Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
      Specified by:
      toPrecedenceFreeEPL in class ExpressionBase
      Parameters:
      writer - is the output to use