|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.filter.FilterSpecCompiled
public final class FilterSpecCompiled
Contains the filter criteria to sift through events. The filter criteria are the event class to look for and a set of parameters (attribute names, operators and constant/range values).
Constructor Summary | |
---|---|
FilterSpecCompiled(EventType eventType,
List<FilterSpecParam> parameters)
Constructor - validates parameter list against event type, throws exception if invalid property names or mismatcing filter operators are found. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
EventType |
getEventType()
Returns type of event to filter for. |
List<FilterSpecParam> |
getParameters()
Returns list of filter parameters. |
FilterValueSet |
getValueSet(MatchedEventMap matchedEvents)
Returns the values for the filter, using the supplied result events to ask filter parameters for the value to filter for. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecCompiled(EventType eventType, List<FilterSpecParam> parameters)
eventType
- is the event typeparameters
- is a list of filter parameters
IllegalArgumentException
- if validation invalidMethod Detail |
---|
public final EventType getEventType()
public final List<FilterSpecParam> getParameters()
public FilterValueSet getValueSet(MatchedEventMap matchedEvents)
matchedEvents
- contains the result events to use for determining filter values
public final String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
© 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 |