|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.filter.FilterParamExprMap
public class FilterParamExprMap
A two-sided map for filter parameters mapping filter expression nodes to filter parameters and back. For use in optimizing filter expressions.
Constructor Summary | |
---|---|
FilterParamExprMap()
Ctor. |
Method Summary | |
---|---|
void |
add(FilterParamExprMap other)
|
void |
clear()
|
int |
countUnassignedExpressions()
|
java.util.Collection<FilterSpecParam> |
getFilterParams()
Returns all filter parameters. |
java.util.List<ExprNode> |
getUnassignedExpressions()
Returns all expression nodes for which no filter parameter exists. |
void |
put(ExprNode exprNode,
FilterSpecParam param)
Add a node and filter param. |
ExprNode |
removeEntry(FilterSpecParam param)
Removes a filter parameter and it's associated expression node |
void |
removeNode(ExprNode node)
|
void |
removeValue(FilterSpecParam param)
Remove a filter parameter leaving the expression node in place. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterParamExprMap()
Method Detail |
---|
public void put(ExprNode exprNode, FilterSpecParam param)
exprNode
- is the node to addparam
- is null if the expression node has not optimized formpublic java.util.List<ExprNode> getUnassignedExpressions()
public int countUnassignedExpressions()
public java.util.Collection<FilterSpecParam> getFilterParams()
public void removeNode(ExprNode node)
public ExprNode removeEntry(FilterSpecParam param)
param
- is the parameter to remove
public void removeValue(FilterSpecParam param)
param
- filter parameter to removepublic void clear()
public void add(FilterParamExprMap other)
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |