com.espertech.esper.plugin
Class PlugInAggregationMultiFunctionValidationContext

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

public class PlugInAggregationMultiFunctionValidationContext
extends java.lang.Object

Context for use with PlugInAggregationMultiFunctionFactory provides information about an aggregation function at the time of validation.

At validation time the event type information, parameter expressions and other statement-specific services are available.


Constructor Summary
PlugInAggregationMultiFunctionValidationContext(java.lang.String functionName, EventType[] eventTypes, ExprNode[] parameterExpressions, java.lang.String engineURI, java.lang.String statementName, ExprValidationContext validationContext, ConfigurationPlugInAggregationMultiFunction config, TableMetadataColumnAggregation optionalTableColumnAccessed, ExprNode[] allParameterExpressions)
          Ctor.
 
Method Summary
 ExprNode[] getAllParameterExpressions()
          Returns positional and non-positional parameters.
 ConfigurationPlugInAggregationMultiFunction getConfig()
          Returns the original configuration object for the aggregation multi-function
 java.lang.String getEngineURI()
          Returns the engine URI.
 EventType[] getEventTypes()
          Returns the event types of all events in the select clause
 java.lang.String getFunctionName()
          Returns the aggregation function name
 TableMetadataColumnAggregation getOptionalTableColumnAccessed()
           
 ExprNode[] getParameterExpressions()
          Returns positional parameters expressions to this aggregation function.
 java.lang.String getStatementName()
          Returns the statement name.
 ExprValidationContext getValidationContext()
          Returns additional validation contextual services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugInAggregationMultiFunctionValidationContext

public PlugInAggregationMultiFunctionValidationContext(java.lang.String functionName,
                                                       EventType[] eventTypes,
                                                       ExprNode[] parameterExpressions,
                                                       java.lang.String engineURI,
                                                       java.lang.String statementName,
                                                       ExprValidationContext validationContext,
                                                       ConfigurationPlugInAggregationMultiFunction config,
                                                       TableMetadataColumnAggregation optionalTableColumnAccessed,
                                                       ExprNode[] allParameterExpressions)
Ctor.

Parameters:
functionName - the aggregation function name
eventTypes - the event types of all events in the select clause
parameterExpressions - the parameter expressions
engineURI - the engine URI
statementName - the statement name
validationContext - additional validation contextual services
config - the original configuration object for the aggregation multi-function
Method Detail

getFunctionName

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

Returns:
aggregation function name

getEventTypes

public EventType[] getEventTypes()
Returns the event types of all events in the select clause

Returns:
types

getParameterExpressions

public ExprNode[] getParameterExpressions()
Returns positional parameters expressions to this aggregation function. Use getAllParameterExpressions() for a list of all parameters including non-positional parameters.

Returns:
positional parameter expressions

getEngineURI

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

Returns:
engine URI.

getStatementName

public java.lang.String getStatementName()
Returns the statement name.

Returns:
statement name

getValidationContext

public ExprValidationContext getValidationContext()
Returns additional validation contextual services.

Returns:
validation context

getConfig

public ConfigurationPlugInAggregationMultiFunction getConfig()
Returns the original configuration object for the aggregation multi-function

Returns:
config

getOptionalTableColumnAccessed

public TableMetadataColumnAggregation getOptionalTableColumnAccessed()

getAllParameterExpressions

public ExprNode[] getAllParameterExpressions()
Returns positional and non-positional parameters.

Returns:
all parameters

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