com.espertech.esper.core.start
Class EPStatementStartMethodHelperValidate

java.lang.Object
  extended by com.espertech.esper.core.start.EPStatementStartMethodHelperValidate

public class EPStatementStartMethodHelperValidate
extends java.lang.Object


Constructor Summary
EPStatementStartMethodHelperValidate()
           
 
Method Summary
protected static ExprNode validateExprNoAgg(ExprNodeOrigin exprNodeOrigin, ExprNode exprNode, StreamTypeService streamTypeService, StatementContext statementContext, ExprEvaluatorContext exprEvaluatorContext, java.lang.String errorMsg, boolean allowTableConsumption)
           
protected static void validateNoAggregations(ExprNode exprNode, java.lang.String errorMsg)
           
static void validateNoDataWindowOnNamedWindow(java.util.List<ViewFactory> viewFactories)
           
protected static void validateNodes(StatementSpecCompiled statementSpec, StatementContext statementContext, StreamTypeService typeService, ViewResourceDelegateUnverified viewResourceDelegate)
          Validate filter and join expression nodes.
protected static UniformPair<java.lang.Integer> validateOuterJoinPropertyPair(StatementContext statementContext, ExprIdentNode leftNode, ExprIdentNode rightNode, int outerJoinCount, StreamTypeService typeService, ViewResourceDelegateUnverified viewResourceDelegate)
           
protected static void validateSubqueryExcludeOuterStream(ExprNode matchCondition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPStatementStartMethodHelperValidate

public EPStatementStartMethodHelperValidate()
Method Detail

validateNoDataWindowOnNamedWindow

public static void validateNoDataWindowOnNamedWindow(java.util.List<ViewFactory> viewFactories)
                                              throws ExprValidationException
Throws:
ExprValidationException

validateNodes

protected static void validateNodes(StatementSpecCompiled statementSpec,
                                    StatementContext statementContext,
                                    StreamTypeService typeService,
                                    ViewResourceDelegateUnverified viewResourceDelegate)
Validate filter and join expression nodes.

Parameters:
statementSpec - the compiled statement
statementContext - the statement services
typeService - the event types for streams
viewResourceDelegate - the delegate to verify expressions that use view resources

validateOuterJoinPropertyPair

protected static UniformPair<java.lang.Integer> validateOuterJoinPropertyPair(StatementContext statementContext,
                                                                              ExprIdentNode leftNode,
                                                                              ExprIdentNode rightNode,
                                                                              int outerJoinCount,
                                                                              StreamTypeService typeService,
                                                                              ViewResourceDelegateUnverified viewResourceDelegate)

validateExprNoAgg

protected static ExprNode validateExprNoAgg(ExprNodeOrigin exprNodeOrigin,
                                            ExprNode exprNode,
                                            StreamTypeService streamTypeService,
                                            StatementContext statementContext,
                                            ExprEvaluatorContext exprEvaluatorContext,
                                            java.lang.String errorMsg,
                                            boolean allowTableConsumption)
                                     throws ExprValidationException
Throws:
ExprValidationException

validateNoAggregations

protected static void validateNoAggregations(ExprNode exprNode,
                                             java.lang.String errorMsg)
                                      throws ExprValidationException
Throws:
ExprValidationException

validateSubqueryExcludeOuterStream

protected static void validateSubqueryExcludeOuterStream(ExprNode matchCondition)
                                                  throws ExprValidationException
Throws:
ExprValidationException

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