com.espertech.esper.epl.parse
Class ASTMatchUntilHelper

java.lang.Object
  extended by com.espertech.esper.epl.parse.ASTMatchUntilHelper

public class ASTMatchUntilHelper
extends java.lang.Object

Helper for walking a pattern match-until clause.


Constructor Summary
ASTMatchUntilHelper()
           
 
Method Summary
static boolean validate(ExprNode lowerBounds, ExprNode upperBounds, boolean isAllowLowerZero)
          Validate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTMatchUntilHelper

public ASTMatchUntilHelper()
Method Detail

validate

public static boolean validate(ExprNode lowerBounds,
                               ExprNode upperBounds,
                               boolean isAllowLowerZero)
                        throws ASTWalkException
Validate.

Parameters:
lowerBounds - is the lower bounds, or null if none supplied
upperBounds - is the upper bounds, or null if none supplied
isAllowLowerZero - true to allow zero value for lower range
Returns:
true if closed range of constants and the constants are the same value
Throws:
ASTWalkException - if the AST is incorrect

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