com.espertech.esper.plugin
Class PlugInAggregationMultiFunctionDeclarationContext

java.lang.Object
  extended by com.espertech.esper.plugin.PlugInAggregationMultiFunctionDeclarationContext

public class PlugInAggregationMultiFunctionDeclarationContext
extends java.lang.Object

Context for use with PlugInAggregationMultiFunctionFactory 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
PlugInAggregationMultiFunctionDeclarationContext(java.lang.String functionName, boolean distinct, java.lang.String engineURI, ConfigurationPlugInAggregationMultiFunction configuration)
          Ctor.
 
Method Summary
 ConfigurationPlugInAggregationMultiFunction getConfiguration()
          Returns the configuration provided when the aggregation multi-functions where registered.
 java.lang.String getEngineURI()
          Returns the engine uri.
 java.lang.String getFunctionName()
          Returns the aggregation function name.
 boolean isDistinct()
          Returns a flag whether the "distinct" keyword was provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugInAggregationMultiFunctionDeclarationContext

public PlugInAggregationMultiFunctionDeclarationContext(java.lang.String functionName,
                                                        boolean distinct,
                                                        java.lang.String engineURI,
                                                        ConfigurationPlugInAggregationMultiFunction configuration)
Ctor.

Parameters:
functionName - provides the aggregation multi-function name
distinct - flag whether the "distinct" keyword was provided.
engineURI - the engine URI
configuration - the configuration provided when the aggregation multi-functions where registered
Method Detail

isDistinct

public boolean isDistinct()
Returns a flag whether the "distinct" keyword was provided.

Returns:
distinct flag

getEngineURI

public java.lang.String getEngineURI()
Returns the engine uri.

Returns:
engine uri

getFunctionName

public java.lang.String getFunctionName()
Returns the aggregation function name.

Returns:
function name

getConfiguration

public ConfigurationPlugInAggregationMultiFunction getConfiguration()
Returns the configuration provided when the aggregation multi-functions where registered.

Returns:
configuration

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com