Class CountEverProjectionExpression

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

public class CountEverProjectionExpression extends ExpressionBase
Represents the "countever" aggregation function.
See Also:
  • Constructor Details

    • CountEverProjectionExpression

      public CountEverProjectionExpression()
      Ctor.
    • CountEverProjectionExpression

      public CountEverProjectionExpression(boolean isDistinct)
      Ctor.
      Parameters:
      isDistinct - true for distinct
    • CountEverProjectionExpression

      public CountEverProjectionExpression(Expression expression, boolean isDistinct)
      Ctor.
      Parameters:
      expression - to aggregate
      isDistinct - true for distinct
  • Method Details

    • 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
    • isDistinct

      public boolean isDistinct()
      Returns true for distinct.
      Returns:
      boolean indicating distinct or not
    • getDistinct

      public boolean getDistinct()
      Returns true for distinct.
      Returns:
      boolean indicating distinct or not
    • setDistinct

      public void setDistinct(boolean distinct)
      Set to true for distinct.
      Parameters:
      distinct - indicating distinct or not