Class SingleRowMethodExpression

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

public class SingleRowMethodExpression extends ExpressionBase
Generic single-row method call consists of a method name and parameters, possibly chained.
See Also:
  • Constructor Details

    • SingleRowMethodExpression

      public SingleRowMethodExpression(String method, Object[] parameters)
      Ctor.
      Parameters:
      method - method name
      parameters - an optiona array of parameters
    • SingleRowMethodExpression

      public SingleRowMethodExpression(List<DotExpressionItem> chain)
      Ctor.
      Parameters:
      chain - of method invocations with at least one element, each pair a method name and list of parameter expressions
  • Method Details

    • getChain

      public List<DotExpressionItem> getChain()
      Returns the optional method invocation chain for the single-row method consisting of pairs of method name and list of parameters.
      Returns:
      chain of method invocations
    • 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