|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.ExprNode
net.esper.eql.expression.ExprAggregateNode
net.esper.eql.expression.ExprAvedevNode
public class ExprAvedevNode
Represents the avedev(...) aggregate function is an expression tree.
Nested Class Summary | |
---|---|
static class |
ExprAvedevNode.DoubleAvedev
Standard deviation always generates double-types numbers. |
Field Summary |
---|
Fields inherited from class net.esper.eql.expression.ExprAggregateNode |
---|
isDistinct |
Constructor Summary | |
---|---|
ExprAvedevNode(boolean distinct)
Ctor. |
Method Summary | |
---|---|
boolean |
equalsNodeAggregate(ExprAggregateNode node)
Return true if a expression aggregate node semantically equals the current node, or false if not. |
Aggregator |
getAggregationFunction()
Returns the aggregation state prototype for use in grouping aggregation states per group-by keys. |
protected java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string. |
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
void |
validate(StreamTypeService streamTypeService,
AutoImportService autoImportService)
Validate node. |
Methods inherited from class net.esper.eql.expression.ExprAggregateNode |
---|
equalsNode, evaluate, getAggregatesBottomUp, getPrototypeAggregator, isDistinct, setAggregationResultFuture, toExpressionString, validateSingleNumericChild |
Methods inherited from class net.esper.eql.expression.ExprNode |
---|
accept, addChildNode, deepEquals, dumpDebug, getChildNodes, getValidatedSubtree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprAvedevNode(boolean distinct)
distinct
- - flag indicating unique or non-unique value aggregationMethod Detail |
---|
public void validate(StreamTypeService streamTypeService, AutoImportService autoImportService) throws ExprValidationException
ExprValidator
streamTypeService
- serves stream event type infoautoImportService
- - for resolving class names in library method invocations
ExprValidationException
- thrown when validation failedpublic Aggregator getAggregationFunction()
ExprAggregateNode
getAggregationFunction
in class ExprAggregateNode
public java.lang.Class getType() throws ExprValidationException
ExprValidator
ExprValidationException
- thrown when validation failedpublic final boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNode
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregate
in class ExprAggregateNode
node
- to compare to
protected java.lang.String getAggregationFunctionName()
ExprAggregateNode
getAggregationFunctionName
in class ExprAggregateNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |