Class DotExpression

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

public class DotExpression extends ExpressionBase
Dot-expresson is for use in "(inner_expression).dot_expression".
See Also:
  • Constructor Details

    • DotExpression

      public DotExpression()
      Ctor.
    • DotExpression

      public DotExpression(Expression innerExpression)
      Ctor.
      Parameters:
      innerExpression - the expression in parenthesis
  • Method Details

    • add

      public void add(DotExpressionItem item)
      Add a method to the chain of methods after the dot.
      Parameters:
      item - item to add
    • add

      public void add(String methodName, List<Expression> parameters)
      Add a method to the chain of methods after the dot.
      Parameters:
      methodName - to add
      parameters - parameters to method
    • add

      public void add(String name, List<Expression> parameters, boolean isProperty)
      Add a method to the chain of methods after the dot, indicating the this segment is a property and does not need parenthesis and won't have paramaters.
      Parameters:
      name - name
      parameters - parameter expressions
      isProperty - property flag
    • getChain

      public List<DotExpressionItem> getChain()
      Returns the method chain of all methods after the dot.
      Returns:
      method name ane list of parameters
    • 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