public class AggregationMultiFunctionValidationContext extends Object
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 and Description |
---|
AggregationMultiFunctionValidationContext(String functionName,
EventType[] eventTypes,
ExprNode[] parameterExpressions,
String statementName,
ExprValidationContext validationContext,
ConfigurationCompilerPlugInAggregationMultiFunction config,
TableMetadataColumnAggregation optionalTableColumnRead,
ExprNode[] allParameterExpressions,
ExprNode optionalFilterExpression)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ExprNode[] |
getAllParameterExpressions()
Returns positional and non-positional parameters.
|
ConfigurationCompilerPlugInAggregationMultiFunction |
getConfig()
Returns the original configuration object for the aggregation multi-function
|
EventType[] |
getEventTypes()
Returns the event types of all events in the select clause
|
String |
getFunctionName()
Returns the aggregation function name
|
LinkedHashMap<String,List<ExprNode>> |
getNamedParameters()
Gets the named parameters as a list
|
ExprNode |
getOptionalFilterExpression()
Returns the filter expression when provided
|
TableMetadataColumnAggregation |
getOptionalTableColumnRead()
Returns table column information when used with tables
|
ExprNode[] |
getParameterExpressions()
Returns positional parameters expressions to this aggregation function.
|
String |
getStatementName()
Returns the statement name.
|
ExprValidationContext |
getValidationContext()
Returns additional validation contextual services.
|
public AggregationMultiFunctionValidationContext(String functionName, EventType[] eventTypes, ExprNode[] parameterExpressions, String statementName, ExprValidationContext validationContext, ConfigurationCompilerPlugInAggregationMultiFunction config, TableMetadataColumnAggregation optionalTableColumnRead, ExprNode[] allParameterExpressions, ExprNode optionalFilterExpression)
functionName
- function nameeventTypes
- event typesparameterExpressions
- expressionsstatementName
- statement namevalidationContext
- validation contextconfig
- configurationoptionalTableColumnRead
- optional table column nameallParameterExpressions
- all parametersoptionalFilterExpression
- optional filter parameterpublic String getFunctionName()
public EventType[] getEventTypes()
public ExprNode[] getParameterExpressions()
getAllParameterExpressions()
for a list of all parameters including non-positional parameters.public String getStatementName()
public ExprValidationContext getValidationContext()
public ConfigurationCompilerPlugInAggregationMultiFunction getConfig()
public ExprNode[] getAllParameterExpressions()
public ExprNode getOptionalFilterExpression()
public TableMetadataColumnAggregation getOptionalTableColumnRead()
public LinkedHashMap<String,List<ExprNode>> getNamedParameters()
Copyright © 2005–2018. All rights reserved.