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, com.espertech.esper.common.internal.epl.expression.core.ExprNode[] parameterExpressions, String statementName, com.espertech.esper.common.internal.epl.expression.core.ExprValidationContext validationContext, ConfigurationCompilerPlugInAggregationMultiFunction config, com.espertech.esper.common.internal.epl.expression.core.ExprNode[] allParameterExpressions, com.espertech.esper.common.internal.epl.expression.core.ExprNode optionalFilterExpression) Ctor. -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.internal.epl.expression.core.ExprNode[]
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 nameLinkedHashMap<String,
List<com.espertech.esper.common.internal.epl.expression.core.ExprNode>> Gets the named parameters as a listcom.espertech.esper.common.internal.epl.expression.core.ExprNode
Returns the filter expression when providedcom.espertech.esper.common.internal.epl.expression.core.ExprNode[]
Returns positional parameters expressions to this aggregation function.Returns the statement name.com.espertech.esper.common.internal.epl.expression.core.ExprValidationContext
Returns additional validation contextual services.
-
Constructor Details
-
AggregationMultiFunctionValidationContext
public AggregationMultiFunctionValidationContext(String functionName, EventType[] eventTypes, com.espertech.esper.common.internal.epl.expression.core.ExprNode[] parameterExpressions, String statementName, com.espertech.esper.common.internal.epl.expression.core.ExprValidationContext validationContext, ConfigurationCompilerPlugInAggregationMultiFunction config, com.espertech.esper.common.internal.epl.expression.core.ExprNode[] allParameterExpressions, com.espertech.esper.common.internal.epl.expression.core.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
public com.espertech.esper.common.internal.epl.expression.core.ExprNode[] 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
public com.espertech.esper.common.internal.epl.expression.core.ExprValidationContext getValidationContext()Returns additional validation contextual services.- Returns:
- validation context
-
getConfig
Returns the original configuration object for the aggregation multi-function- Returns:
- config
-
getAllParameterExpressions
public com.espertech.esper.common.internal.epl.expression.core.ExprNode[] getAllParameterExpressions()Returns positional and non-positional parameters.- Returns:
- all parameters
-
getOptionalFilterExpression
public com.espertech.esper.common.internal.epl.expression.core.ExprNode getOptionalFilterExpression()Returns the filter expression when provided- Returns:
- filter expression
-
getNamedParameters
public LinkedHashMap<String,List<com.espertech.esper.common.internal.epl.expression.core.ExprNode>> getNamedParameters()Gets the named parameters as a list- Returns:
- named params
-