Uses of Class
net.esper.eql.expression.ExprNode

Packages that use ExprNode
net.esper.eql.core Contains EQL statement specification classes define the constructs that make up an EQL statement, such as the list of items in the select clause, the insert-into stream name and property names etc. 
net.esper.eql.expression This package contains the EQL expression nodes that represent all expressions such as used in select clauses, group-by and having clauses, or order-by clauses 
net.esper.eql.join Join process interfaces and glue code 
net.esper.eql.join.plan Inner join and outer join query planning 
net.esper.eql.spec Contains EQL statement specification classes define the constructs that make up an EQL statement, such as the list of items in the select clause, the insert-into stream name and property names etc. 
net.esper.filter Main switchboard filtering and routing of incoming events to interested statements is performed in this package. 
 

Uses of ExprNode in net.esper.eql.core
 

Methods in net.esper.eql.core that return ExprNode
static ExprNode AliasNodeSwapper.swap(ExprNode exprTree, String alias, ExprNode fullExpr)
          Replace all instances of the node representing the alias with the full expression.
 

Methods in net.esper.eql.core with parameters of type ExprNode
static ResultSetProcessor ResultSetProcessorFactory.getProcessor(SelectClauseSpec selectClauseSpec, InsertIntoDesc insertIntoDesc, List<ExprNode> groupByNodes, ExprNode optionalHavingNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList, StreamTypeService typeService, EventAdapterService eventAdapterService, AutoImportService autoImportService, ViewResourceDelegate viewResourceDelegate)
          Returns the result set process for the given select expression, group-by clause and having clause given a set of types describing each stream in the from-clause.
protected static EventBean[] ResultSetProcessorSimple.getSelectEventsHaving(SelectExprProcessor exprProcessor, OrderByProcessor orderByProcessor, EventBean[] events, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly, boolean isNewData)
          Applies the select-clause to the given events returning the selected events.
protected static EventBean[] ResultSetProcessorSimple.getSelectEventsHaving(SelectExprProcessor exprProcessor, OrderByProcessor orderByProcessor, Set<MultiKey<EventBean>> events, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly, boolean isNewData)
          Applies the select-clause to the given events returning the selected events.
static AggregationService AggregationServiceFactory.getService(List<ExprAggregateNode> aggregateExprNodes, boolean hasGroupByClause, ExprNode optionalHavingNode, List<ExprNode> sortByNodes)
          Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on whether there are any group-by nodes.
static ExprNode AliasNodeSwapper.swap(ExprNode exprTree, String alias, ExprNode fullExpr)
          Replace all instances of the node representing the alias with the full expression.
 

Method parameters in net.esper.eql.core with type arguments of type ExprNode
static OrderByProcessor OrderByProcessorFactory.getProcessor(List<SelectExprElementCompiledSpec> selectionList, List<ExprNode> groupByNodes, List<Pair<ExprNode,Boolean>> orderByList, AggregationService aggregationService, EventAdapterService eventAdapterService)
          Returns processor for order-by clauses.
static OrderByProcessor OrderByProcessorFactory.getProcessor(List<SelectExprElementCompiledSpec> selectionList, List<ExprNode> groupByNodes, List<Pair<ExprNode,Boolean>> orderByList, AggregationService aggregationService, EventAdapterService eventAdapterService)
          Returns processor for order-by clauses.
static ResultSetProcessor ResultSetProcessorFactory.getProcessor(SelectClauseSpec selectClauseSpec, InsertIntoDesc insertIntoDesc, List<ExprNode> groupByNodes, ExprNode optionalHavingNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList, StreamTypeService typeService, EventAdapterService eventAdapterService, AutoImportService autoImportService, ViewResourceDelegate viewResourceDelegate)
          Returns the result set process for the given select expression, group-by clause and having clause given a set of types describing each stream in the from-clause.
static ResultSetProcessor ResultSetProcessorFactory.getProcessor(SelectClauseSpec selectClauseSpec, InsertIntoDesc insertIntoDesc, List<ExprNode> groupByNodes, ExprNode optionalHavingNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList, StreamTypeService typeService, EventAdapterService eventAdapterService, AutoImportService autoImportService, ViewResourceDelegate viewResourceDelegate)
          Returns the result set process for the given select expression, group-by clause and having clause given a set of types describing each stream in the from-clause.
static AggregationService AggregationServiceFactory.getService(List<ExprAggregateNode> aggregateExprNodes, boolean hasGroupByClause, ExprNode optionalHavingNode, List<ExprNode> sortByNodes)
          Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on whether there are any group-by nodes.
 

Constructors in net.esper.eql.core with parameters of type ExprNode
ResultSetProcessorAggregateAll(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
ResultSetProcessorAggregateGrouped(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, List<ExprNode> groupKeyNodes, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
ResultSetProcessorRowForAll(SelectExprProcessor selectExprProcessor, AggregationService aggregationService, ExprNode optionalHavingNode)
          Ctor.
ResultSetProcessorRowPerGroup(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, List<ExprNode> groupKeyNodes, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
ResultSetProcessorSimple(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
 

Constructor parameters in net.esper.eql.core with type arguments of type ExprNode
OrderByProcessorSimple(List<Pair<ExprNode,Boolean>> orderByList, List<ExprNode> groupByNodes, boolean needsGroupByKeys, AggregationService aggregationService)
          Ctor.
OrderByProcessorSimple(List<Pair<ExprNode,Boolean>> orderByList, List<ExprNode> groupByNodes, boolean needsGroupByKeys, AggregationService aggregationService)
          Ctor.
ResultSetProcessorAggregateGrouped(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, List<ExprNode> groupKeyNodes, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
ResultSetProcessorRowPerGroup(SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, List<ExprNode> groupKeyNodes, ExprNode optionalHavingNode, boolean isOutputLimiting, boolean isOutputLimitLastOnly)
          Ctor.
 

Uses of ExprNode in net.esper.eql.expression
 

Subclasses of ExprNode in net.esper.eql.expression
 class ExprAggregateNode
          Base expression node that represents an aggregation function such as 'sum' or 'count'.
 class ExprAndNode
          Represents And-condition.
 class ExprArrayNode
          Represents an array in a filter expressiun tree.
 class ExprAvedevNode
          Represents the avedev(...) aggregate function is an expression tree.
 class ExprAvgNode
          Represents the avg(...) aggregate function is an expression tree.
 class ExprBetweenNode
          Represents the between-clause function in an expression tree.
 class ExprBitWiseNode
          Represents the bit-wise operators in an expression tree.
 class ExprCaseNode
          Represents the case-when-then-else control flow function is an expression tree.
 class ExprCoalesceNode
          Represents the COALESCE(a,b,...) function is an expression tree.
 class ExprConcatNode
          Represents a simple Math (+/-/divide/*) in a filter expression tree.
 class ExprConstantNode
          Represents a constant in a filter expressiun tree.
 class ExprCountNode
          Represents the count(...) and count(*) and count(distinct ...) aggregate function is an expression tree.
 class ExprEqualsNode
          Represents an equals (=) comparator in a filter expressiun tree.
 class ExprIdentNode
          Represents an stream property identifier in a filter expressiun tree.
 class ExprInNode
          Represents the in-clause (set check) function in an expression tree.
 class ExprLikeNode
          Represents the like-clause in an expression tree.
 class ExprMathNode
          Represents a simple Math (+/-/divide/*) in a filter expression tree.
 class ExprMedianNode
          Represents the median(...) aggregate function is an expression tree.
 class ExprMinMaxAggrNode
          Represents the min/max(distinct? ...) aggregate function is an expression tree.
 class ExprMinMaxRowNode
          Represents the MAX(a,b) and MIN(a,b) functions is an expression tree.
 class ExprNotNode
          Represents a NOT expression in an expression tree.
 class ExprOrNode
          Represents an OR expression in a filter expression tree.
 class ExprPreviousNode
          Represents the 'prev' previous event function in an expression node tree.
 class ExprPriorNode
          Represents the 'prior' prior event function in an expression node tree.
 class ExprRegexpNode
          Represents the regexp-clause in an expression tree.
 class ExprRelationalOpNode
          Represents a lesser or greater then (/>=) expression in a filter expression tree.
 class ExprStaticMethodNode
          Represents an invocation of a static library method in the expression tree.
 class ExprStddevNode
          Represents the stddev(...) aggregate function is an expression tree.
 class ExprSumNode
          Represents the sum(...) aggregate function is an expression tree.
 

Methods in net.esper.eql.expression that return ExprNode
 ExprNode ExprNode.getValidatedSubtree(StreamTypeService streamTypeService, AutoImportService autoImportService, ViewResourceDelegate viewResourceDelegate)
          Validates the expression node subtree that has this node as root.
 

Methods in net.esper.eql.expression that return types with arguments of type ExprNode
 LinkedList<ExprNode> ExprNode.getChildNodes()
          Returns list of child nodes.
 

Methods in net.esper.eql.expression with parameters of type ExprNode
 void ExprNode.addChildNode(ExprNode childNode)
          Adds a child node.
static boolean ExprNode.deepEquals(ExprNode nodeOne, ExprNode nodeTwo)
          Compare two expression nodes and their children in exact child-node sequence, returning true if the 2 expression nodes trees are equals, or false if they are not equals.
 boolean ExprStaticMethodNode.equalsNode(ExprNode node)
           
 boolean ExprRelationalOpNode.equalsNode(ExprNode node)
           
 boolean ExprRegexpNode.equalsNode(ExprNode node_)
           
 boolean ExprPriorNode.equalsNode(ExprNode node)
           
 boolean ExprPreviousNode.equalsNode(ExprNode node)
           
 boolean ExprOrNode.equalsNode(ExprNode node)
           
 boolean ExprNotNode.equalsNode(ExprNode node)
           
abstract  boolean ExprNode.equalsNode(ExprNode node)
          Return true if a expression node semantically equals the current node, or false if not.
 boolean ExprMinMaxRowNode.equalsNode(ExprNode node)
           
 boolean ExprMathNode.equalsNode(ExprNode node)
           
 boolean ExprLikeNode.equalsNode(ExprNode node_)
           
 boolean ExprInNode.equalsNode(ExprNode node_)
           
 boolean ExprIdentNode.equalsNode(ExprNode node)
           
 boolean ExprEqualsNode.equalsNode(ExprNode node)
           
 boolean ExprConstantNode.equalsNode(ExprNode node)
           
 boolean ExprConcatNode.equalsNode(ExprNode node)
           
 boolean ExprCoalesceNode.equalsNode(ExprNode node)
           
 boolean ExprCaseNode.equalsNode(ExprNode node_)
           
 boolean ExprBitWiseNode.equalsNode(ExprNode node)
           
 boolean ExprBetweenNode.equalsNode(ExprNode node_)
           
 boolean ExprArrayNode.equalsNode(ExprNode node)
           
 boolean ExprAndNode.equalsNode(ExprNode node)
           
 boolean ExprAggregateNode.equalsNode(ExprNode node)
           
static void ExprAggregateNode.getAggregatesBottomUp(ExprNode topNode, List<ExprAggregateNode> aggregateNodes)
          Populates into the supplied list all aggregation functions within this expression, if any.
 boolean ExprNodeVisitor.isVisit(ExprNode exprNode)
          Allows visitor to indicate whether to visit a given node.
 boolean ExprNodeIdentifierVisitor.isVisit(ExprNode exprNode)
           
 void ExprNodeVisitor.visit(ExprNode exprNode)
          Visit the given expression node.
 void ExprNodeIdentifierVisitor.visit(ExprNode exprNode)
           
 

Uses of ExprNode in net.esper.eql.join
 

Methods in net.esper.eql.join with parameters of type ExprNode
protected static void JoinSetFilter.filter(ExprNode filterExprNode, Set<MultiKey<EventBean>> events, boolean isNewData)
          Filter event by applying the filter nodes evaluation method.
static JoinSetComposer JoinSetComposerFactory.makeComposer(List<OuterJoinDesc> outerJoinDescList, ExprNode optionalFilterNode, EventType[] streamTypes, String[] streamNames, Viewable[] streamViews, SelectClauseStreamSelectorEnum selectStreamSelectorEnum)
          Builds join tuple composer.
 

Constructors in net.esper.eql.join with parameters of type ExprNode
JoinSetFilter(ExprNode filterExprNode)
          Ctor.
 

Uses of ExprNode in net.esper.eql.join.plan
 

Methods in net.esper.eql.join.plan with parameters of type ExprNode
static void FilterExprAnalyzer.analyze(ExprNode topNode, QueryGraph queryGraph)
          Analyzes filter expression to build query graph model.
static QueryPlan QueryPlanBuilder.getPlan(int numStreams, List<OuterJoinDesc> outerJoinDescList, ExprNode optionalFilterNode, String[] streamNames)
          Build query plan using the filter.
 

Uses of ExprNode in net.esper.eql.spec
 

Methods in net.esper.eql.spec that return ExprNode
 ExprNode StatementSpecRaw.getFilterRootNode()
          Returns the WHERE-clause root node of filter expression.
 ExprNode StatementSpecCompiled.getFilterRootNode()
          Returns the WHERE-clause root node of filter expression.
 ExprNode StatementSpecRaw.getHavingExprRootNode()
          Returns expression root node representing the having-clause, if present, or null if no having clause was supplied.
 ExprNode StatementSpecCompiled.getHavingExprRootNode()
          Returns expression root node representing the having-clause, if present, or null if no having clause was supplied.
 ExprNode SelectExprElementRawSpec.getSelectExpression()
          Returns the expression node representing the item in the select clause.
 ExprNode SelectExprElementCompiledSpec.getSelectExpression()
          Returns the expression node representing the item in the select clause.
 

Methods in net.esper.eql.spec that return types with arguments of type ExprNode
 List<ExprNode> FilterSpecRaw.getFilterExpressions()
          Returns the list of filter expressions.
 List<ExprNode> StatementSpecRaw.getGroupByExpressions()
          Returns list of group-by expressions.
 List<ExprNode> StatementSpecCompiled.getGroupByExpressions()
          Returns list of group-by expressions.
 List<Pair<ExprNode,Boolean>> StatementSpecRaw.getOrderByList()
          Returns the list of order-by expression as specified in the ORDER BY clause.
 List<Pair<ExprNode,Boolean>> StatementSpecCompiled.getOrderByList()
          Returns the list of order-by expression as specified in the ORDER BY clause.
 

Methods in net.esper.eql.spec with parameters of type ExprNode
 void StatementSpecRaw.setFilterExprRootNode(ExprNode filterExprRootNode)
          Sets the where clause filter expression node.
 void StatementSpecCompiled.setFilterExprRootNode(ExprNode optionalFilterNode)
          Set the where clause filter node.
 void StatementSpecRaw.setHavingExprRootNode(ExprNode havingExprRootNode)
          Sets the having-clause filter expression node.
 

Constructors in net.esper.eql.spec with parameters of type ExprNode
SelectExprElementCompiledSpec(ExprNode selectExpression, String assignedName)
          Ctor.
SelectExprElementRawSpec(ExprNode selectExpression, String optionalAsName)
          Ctor.
StatementSpecCompiled(InsertIntoDesc insertIntoDesc, SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum, SelectClauseSpec selectClauseSpec, List<StreamSpecCompiled> streamSpecs, List<OuterJoinDesc> outerJoinDescList, ExprNode filterExprRootNode, List<ExprNode> groupByExpressions, ExprNode havingExprRootNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList)
          Ctor.
 

Constructor parameters in net.esper.eql.spec with type arguments of type ExprNode
FilterSpecRaw(String eventTypeAlias, List<ExprNode> filterExpressions)
          Ctor.
StatementSpecCompiled(InsertIntoDesc insertIntoDesc, SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum, SelectClauseSpec selectClauseSpec, List<StreamSpecCompiled> streamSpecs, List<OuterJoinDesc> outerJoinDescList, ExprNode filterExprRootNode, List<ExprNode> groupByExpressions, ExprNode havingExprRootNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList)
          Ctor.
StatementSpecCompiled(InsertIntoDesc insertIntoDesc, SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum, SelectClauseSpec selectClauseSpec, List<StreamSpecCompiled> streamSpecs, List<OuterJoinDesc> outerJoinDescList, ExprNode filterExprRootNode, List<ExprNode> groupByExpressions, ExprNode havingExprRootNode, OutputLimitSpec outputLimitSpec, List<Pair<ExprNode,Boolean>> orderByList)
          Ctor.
 

Uses of ExprNode in net.esper.filter
 

Methods in net.esper.filter that return ExprNode
 ExprNode FilterSpecParamExprNode.getExprNode()
          Returns the expression node of the boolean expression this filter parameter represents.
 

Methods in net.esper.filter that return types with arguments of type ExprNode
 List<ExprNode> FilterParamExprMap.getUnassignedExpressions()
          Returns all expression nodes for which no filter parameter exists.
 

Methods in net.esper.filter with parameters of type ExprNode
protected static FilterSpecParam FilterSpecCompiler.makeFilterParam(ExprNode constituent)
          For a given expression determine if this is optimizable and create the filter parameter representing the expression, or null if not optimizable.
 void FilterParamExprMap.put(ExprNode exprNode, FilterSpecParam param)
          Add a node and filter param.
 

Method parameters in net.esper.filter with type arguments of type ExprNode
static FilterSpecCompiled FilterSpecCompiler.makeFilterSpec(EventType eventType, List<ExprNode> filterExpessions, LinkedHashMap<String,EventType> taggedEventTypes, StreamTypeService streamTypeService, AutoImportService autoImportService)
          Factory method for compiling filter expressions into a filter specification for use with filter service.
 

Constructors in net.esper.filter with parameters of type ExprNode
ExprNodeAdapter(ExprNode exprNode)
          Ctor.
FilterSpecParamExprNode(String propertyName, FilterOperator filterOperator, ExprNode exprNode, LinkedHashMap<String,EventType> taggedEventTypes)
          Ctor.