|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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 | |
---|---|
Collection<FilterSpecParam> |
getFilterParams()
Returns all filter parameters. |
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. |
void |
removeEntry(FilterSpecParam param)
Removes a filter parameter and it's associated expression 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 List<ExprNode> getUnassignedExpressions()
public Collection<FilterSpecParam> getFilterParams()
public void removeEntry(FilterSpecParam param)
param
- is the parameter to removepublic void removeValue(FilterSpecParam param)
param
- filter parameter to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |