|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.agg.AggregationSupport
public abstract class AggregationSupport
Base class for use with plug-in aggregation functions.
Field Summary | |
---|---|
protected String |
functionName
Provides the aggregation function name. |
Constructor Summary | |
---|---|
AggregationSupport()
Ctor. |
Method Summary | |
---|---|
String |
getFunctionName()
Returns the name of the aggregation function. |
AggregationMethod |
newAggregator(MethodResolutionService methodResolutionService)
Make a new, initalized aggregation state. |
void |
setFunctionName(String functionName)
Sets the aggregation function name. |
abstract void |
validate(Class childNodeType)
Implemented by plug-in aggregation functions to allow such functions to validate the type of value passed to the function at statement compile time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.epl.agg.AggregationMethod |
---|
clear, enter, getValue, getValueType, leave |
Field Detail |
---|
protected String functionName
Constructor Detail |
---|
public AggregationSupport()
Method Detail |
---|
public abstract void validate(Class childNodeType)
childNodeType
- is the class of result of the expression sub-node within the aggregation function, or
null if a statement supplies no expression within the aggregation functionpublic void setFunctionName(String functionName)
functionName
- is the name of the aggregation functionpublic String getFunctionName()
public AggregationMethod newAggregator(MethodResolutionService methodResolutionService)
AggregationMethod
newAggregator
in interface AggregationMethod
methodResolutionService
- for use in creating new aggregation method instances as a factory
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |