Class SubstitutionParameterExpression

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

public class SubstitutionParameterExpression extends ExpressionBase
Represents a substitution parameter
See Also:
  • Constructor Details

    • SubstitutionParameterExpression

      public SubstitutionParameterExpression()
      Ctor.
    • SubstitutionParameterExpression

      public SubstitutionParameterExpression(String optionalName, String optionalType)
      Ctor.
      Parameters:
      optionalName - name of the substitution parameter or null if none provided
      optionalType - type of the substitution parameter or null if none provided
  • Method Details

    • getOptionalName

      public String getOptionalName()
      Returns the name when provided
      Returns:
      name
    • 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
    • setOptionalName

      public void setOptionalName(String optionalName)
      Sets the name
      Parameters:
      optionalName - name
    • getOptionalType

      public String getOptionalType()
      Returns the type when provided
      Returns:
      type
    • setOptionalType

      public void setOptionalType(String optionalType)
      Sets the type
      Parameters:
      optionalType - type