com.espertech.esper.client.soda
Class StddevProjectionExpression

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

public class StddevProjectionExpression
extends ExpressionBase

Standard deviation of the (distinct) values returned by an expression.

See Also:
Serialized Form

Constructor Summary
StddevProjectionExpression()
          Ctor.
StddevProjectionExpression(boolean isDistinct)
          Ctor - for use to create an expression tree, without inner expression
StddevProjectionExpression(Expression expression, boolean isDistinct)
          Ctor - adds the expression to project.
 
Method Summary
 ExpressionPrecedenceEnum getPrecedence()
          Returns precedence.
 boolean isDistinct()
          Returns true if the projection considers distinct values only.
 void setDistinct(boolean distinct)
          Set the distinct flag indicating the projection considers distinct values only.
 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

StddevProjectionExpression

public StddevProjectionExpression()
Ctor.


StddevProjectionExpression

public StddevProjectionExpression(boolean isDistinct)
Ctor - for use to create an expression tree, without inner expression

Parameters:
isDistinct - true if distinct

StddevProjectionExpression

public StddevProjectionExpression(Expression expression,
                                  boolean isDistinct)
Ctor - adds the expression to project.

Parameters:
expression - returning values to project
isDistinct - true if 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 if the projection considers distinct values only.

Returns:
true if distinct

setDistinct

public void setDistinct(boolean distinct)
Set the distinct flag indicating the projection considers distinct values only.

Parameters:
distinct - true for distinct, false for not distinct

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