Class OrderedObjectParamExpression

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

public class OrderedObjectParamExpression extends ExpressionBase
For use in view parameter lists, this is a wrapper expression that adds an ascending or descending sort indicator to its single child expression.
See Also:
  • Constructor Details

    • OrderedObjectParamExpression

      public OrderedObjectParamExpression()
      Ctor.
    • OrderedObjectParamExpression

      public OrderedObjectParamExpression(boolean descending)
      Ctor.
      Parameters:
      descending - to indicate a descending sort, or false for ascending
  • Method Details

    • isDescending

      public boolean isDescending()
      Returns true for descending, false for ascending.
      Returns:
      indicator for descending sort
    • getDescending

      public boolean getDescending()
      Returns true for descending, false for ascending.
      Returns:
      indicator for descending sort
    • setDescending

      public void setDescending(boolean descending)
      Return true for descending.
      Parameters:
      descending - indicator
    • getPrecedence

      public ExpressionPrecedenceEnum getPrecedence()
      Return 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