|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.esper.eql.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 | |
|---|---|
protected |
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 net.esper.eql.agg.AggregationMethod |
|---|
enter, getValue, getValueType, leave |
| Field Detail |
|---|
protected String functionName
| Constructor Detail |
|---|
protected 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 AggregationMethodmethodResolutionService - for use in creating new aggregation method instances as a factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||