public class ASTOutputLimitHelper
extends java.lang.Object
Constructor and Description |
---|
ASTOutputLimitHelper() |
Modifier and Type | Method and Description |
---|---|
static OutputLimitSpec |
buildOutputLimitSpec(CommonTokenStream tokenStream,
EsperEPL2GrammarParser.OutputLimitContext ctx,
java.util.Map<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(EsperEPL2GrammarParser.RowLimitContext ctx)
Builds a row limit specification.
|
public static OutputLimitSpec buildOutputLimitSpec(CommonTokenStream tokenStream, EsperEPL2GrammarParser.OutputLimitContext ctx, java.util.Map<Tree,ExprNode> astExprNodeMap, VariableService variableService, java.lang.String engineURI, TimeProvider timeProvider, ExprEvaluatorContext exprEvaluatorContext)
astExprNodeMap
- is the map of current AST tree nodes to their respective expression root nodeengineURI
- the engine uritimeProvider
- provides timevariableService
- provides variable resolutionexprEvaluatorContext
- context for expression evaluatiompublic static RowLimitSpec buildRowLimitSpec(EsperEPL2GrammarParser.RowLimitContext ctx)