com.espertech.esper.epl.parse
Class ASTOutputLimitHelper

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

public class ASTOutputLimitHelper
extends java.lang.Object

Builds an output limit spec from an output limit AST node.


Constructor Summary
ASTOutputLimitHelper()
           
 
Method Summary
static OutputLimitSpec buildOutputLimitSpec(org.antlr.runtime.tree.Tree node, java.util.Map<org.antlr.runtime.tree.Tree,ExprNode> astExprNodeMap, VariableService variableService, java.lang.String engineURI, TimeProvider timeProvider, ExprEvaluatorContext exprEvaluatorContext)
          Build an output limit spec from the AST node supplied.
static RowLimitSpec buildRowLimitSpec(org.antlr.runtime.tree.Tree node)
          Builds a row limit specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTOutputLimitHelper

public ASTOutputLimitHelper()
Method Detail

buildOutputLimitSpec

public static OutputLimitSpec buildOutputLimitSpec(org.antlr.runtime.tree.Tree node,
                                                   java.util.Map<org.antlr.runtime.tree.Tree,ExprNode> astExprNodeMap,
                                                   VariableService variableService,
                                                   java.lang.String engineURI,
                                                   TimeProvider timeProvider,
                                                   ExprEvaluatorContext exprEvaluatorContext)
Build an output limit spec from the AST node supplied.

Parameters:
node - - parse node
astExprNodeMap - is the map of current AST tree nodes to their respective expression root node
engineURI - the engine uri
timeProvider - provides time
variableService - provides variable resolution
exprEvaluatorContext - context for expression evaluatiom
Returns:
output limit spec

buildRowLimitSpec

public static RowLimitSpec buildRowLimitSpec(org.antlr.runtime.tree.Tree node)
Builds a row limit specification.

Parameters:
node - to interrogate
Returns:
row limit spec

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