Class AccessProjectionExpressionBase

java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.AccessProjectionExpressionBase
All Implemented Interfaces:
Expression, Serializable
Direct Known Subclasses:
FirstProjectionExpression, LastProjectionExpression, WindowProjectionExpression

public abstract class AccessProjectionExpressionBase extends ExpressionBase
Represents the base expression for "first", "last" and "window" aggregation functions.
See Also:
  • Constructor Details

    • AccessProjectionExpressionBase

      public AccessProjectionExpressionBase()
      Ctor.
    • AccessProjectionExpressionBase

      public AccessProjectionExpressionBase(Expression expression)
      Ctor.
      Parameters:
      expression - to aggregate
  • Method Details

    • getAggregationFunctionName

      public abstract String getAggregationFunctionName()
      Returns the function name of the aggregation function.
      Returns:
      function 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