|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.filter.FilterSpecParam
com.espertech.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.
Field Summary |
---|
Fields inherited from class com.espertech.esper.filter.FilterSpecParam |
---|
propertyName |
Constructor Summary | |
---|---|
FilterSpecParamExprNode(String propertyName,
FilterOperator filterOperator,
ExprNode exprNode,
LinkedHashMap<String,EventType> taggedEventTypes,
VariableService variableService)
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) |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class com.espertech.esper.filter.FilterSpecParam |
---|
getFilterOperator, getPropertyName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecParamExprNode(String propertyName, FilterOperator filterOperator, ExprNode exprNode, LinkedHashMap<String,EventType> taggedEventTypes, VariableService variableService) 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 typesvariableService
- - provides access to variables
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
public int hashCode()
hashCode
in class FilterSpecParam
|
© 2007 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 |