|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.filter.FilterSpecParam
net.esper.filter.FilterSpecParamExprNode
public final class FilterSpecParamExprNode
This class represents an arbitrary expression node returning a boolean value as a filter parameter in an FilterSpecCompiled
filter specification.
Constructor Summary | |
---|---|
FilterSpecParamExprNode(String propertyName,
FilterOperator filterOperator,
ExprNode exprNode,
LinkedHashMap<String,EventType> taggedEventTypes)
Ctor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
ExprNode |
getExprNode()
Returns the expression node of the boolean expression this filter parameter represents. |
Object |
getFilterValue(MatchedEventMap matchedEvents)
Return the filter parameter constant to filter for. |
LinkedHashMap<String,EventType> |
getTaggedEventTypes()
Returns the map of tag/stream names to event types that the filter expressions map use (for patterns) |
String |
toString()
|
Methods inherited from class net.esper.filter.FilterSpecParam |
---|
getFilterOperator, getPropertyName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecParamExprNode(String propertyName, FilterOperator filterOperator, ExprNode exprNode, LinkedHashMap<String,EventType> taggedEventTypes) throws IllegalArgumentException
propertyName
- is the event property namefilterOperator
- is expected to be the BOOLEAN_EXPR operatorexprNode
- represents the boolean expressiontaggedEventTypes
- is null if the expression doesn't need other streams, or is filled with a ordered list of stream names and types
IllegalArgumentException
- for illegal argsMethod Detail |
---|
public ExprNode getExprNode()
public LinkedHashMap<String,EventType> getTaggedEventTypes()
public final Object getFilterValue(MatchedEventMap matchedEvents)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameters
public final String toString()
toString
in class FilterSpecParam
public boolean equals(Object obj)
equals
in class FilterSpecParam
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |