Class AggregationMultiFunctionValidationContext
java.lang.Object
com.espertech.esper.common.client.hook.aggmultifunc.AggregationMultiFunctionValidationContext
Context for use with
AggregationFunctionForge
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
ConstructorDescriptionAggregationMultiFunctionValidationContext
(String functionName, EventType[] eventTypes, ExprNode[] parameterExpressions, String statementName, ExprValidationContext validationContext, ConfigurationCompilerPlugInAggregationMultiFunction config, ExprNode[] allParameterExpressions, ExprNode optionalFilterExpression) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionExprNode[]
Returns positional and non-positional parameters.Returns the original configuration object for the aggregation multi-functionReturns the event types of all events in the select clauseReturns the aggregation function nameGets the named parameters as a listReturns the filter expression when providedExprNode[]
Returns positional parameters expressions to this aggregation function.Returns the statement name.Returns additional validation contextual services.
-
Constructor Details
-
AggregationMultiFunctionValidationContext
public AggregationMultiFunctionValidationContext(String functionName, EventType[] eventTypes, ExprNode[] parameterExpressions, String statementName, ExprValidationContext validationContext, ConfigurationCompilerPlugInAggregationMultiFunction config, ExprNode[] allParameterExpressions, ExprNode optionalFilterExpression) Ctor.- Parameters:
functionName
- function nameeventTypes
- event typesparameterExpressions
- expressionsstatementName
- statement namevalidationContext
- validation contextconfig
- configurationallParameterExpressions
- all parametersoptionalFilterExpression
- optional filter parameter
-
-
Method Details
-
getFunctionName
Returns the aggregation function name- Returns:
- aggregation function name
-
getEventTypes
Returns the event types of all events in the select clause- Returns:
- types
-
getParameterExpressions
Returns positional parameters expressions to this aggregation function. UsegetAllParameterExpressions()
for a list of all parameters including non-positional parameters.- Returns:
- positional parameter expressions
-
getStatementName
Returns the statement name.- Returns:
- statement name
-
getValidationContext
Returns additional validation contextual services.- Returns:
- validation context
-
getConfig
Returns the original configuration object for the aggregation multi-function- Returns:
- config
-
getAllParameterExpressions
Returns positional and non-positional parameters.- Returns:
- all parameters
-
getOptionalFilterExpression
Returns the filter expression when provided- Returns:
- filter expression
-
getNamedParameters
Gets the named parameters as a list- Returns:
- named params
-