com.espertech.esper.client.soda
Class CountEverProjectionExpression

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

public class CountEverProjectionExpression
extends ExpressionBase

Represents the "countever" aggregation function.

See Also:
Serialized Form

Constructor Summary
CountEverProjectionExpression()
          Ctor.
CountEverProjectionExpression(boolean isDistinct)
          Ctor.
CountEverProjectionExpression(Expression expression, boolean isDistinct)
          Ctor.
 
Method Summary
 boolean getDistinct()
          Returns true for distinct.
 ExpressionPrecedenceEnum getPrecedence()
          Returns precedence.
 boolean isDistinct()
          Returns true for distinct.
 void setDistinct(boolean distinct)
          Set to true for distinct.
 void toPrecedenceFreeEPL(java.io.StringWriter writer)
          Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
 
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getPrecedence

public ExpressionPrecedenceEnum getPrecedence()
Description copied from interface: Expression
Returns precedence.

Returns:
precedence

toPrecedenceFreeEPL

public void toPrecedenceFreeEPL(java.io.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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com