Class AggregationMultiFunctionDeclarationContext

java.lang.Object
com.espertech.esper.common.client.hook.aggmultifunc.AggregationMultiFunctionDeclarationContext

public class AggregationMultiFunctionDeclarationContext extends Object
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 Details

    • AggregationMultiFunctionDeclarationContext

      public AggregationMultiFunctionDeclarationContext(String functionName, boolean distinct, ConfigurationCompilerPlugInAggregationMultiFunction configuration)
      Ctor.
      Parameters:
      functionName - provides the aggregation multi-function name
      distinct - 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

      public String getFunctionName()
      Returns the aggregation function name.
      Returns:
      function name
    • getConfiguration

      Returns the configuration provided when the aggregation multi-functions where registered.
      Returns:
      configuration