net.esper.client.soda
Class StddevProjectionExpression

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

public class StddevProjectionExpression
extends ExpressionBase

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

See Also:
Serialized Form

Constructor Summary
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
 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 toEQL(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 net.esper.client.soda.ExpressionBase
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

toEQL

public void toEQL(StringWriter writer)
Description copied from interface: Expression
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.

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