Class AggregationMultiFunctionDeclarationContext
java.lang.Object
com.espertech.esper.common.client.hook.aggmultifunc.AggregationMultiFunctionDeclarationContext
Context for use with
AggregationMultiFunctionForge
provides
information about an aggregation function at the time of declaration.
Declaration means when the aggregation function is discovered at the time of parsing an EPL statement. Or when using statement object model then at the time of mapping the object model to the internal statement representation.
-
Constructor Summary
ConstructorDescriptionAggregationMultiFunctionDeclarationContext
(String functionName, boolean distinct, ConfigurationCompilerPlugInAggregationMultiFunction configuration) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration provided when the aggregation multi-functions where registered.Returns the aggregation function name.boolean
Returns a flag whether the "distinct" keyword was provided.
-
Constructor Details
-
AggregationMultiFunctionDeclarationContext
public AggregationMultiFunctionDeclarationContext(String functionName, boolean distinct, ConfigurationCompilerPlugInAggregationMultiFunction configuration) Ctor.- Parameters:
functionName
- provides the aggregation multi-function namedistinct
- flag whether the "distinct" keyword was provided.configuration
- the configuration provided when the aggregation multi-functions where registered
-
-
Method Details
-
isDistinct
public boolean isDistinct()Returns a flag whether the "distinct" keyword was provided.- Returns:
- distinct flag
-
getFunctionName
Returns the aggregation function name.- Returns:
- function name
-
getConfiguration
Returns the configuration provided when the aggregation multi-functions where registered.- Returns:
- configuration
-