|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ViewSupport
net.esper.eql.view.FilterExprView
public class FilterExprView
Simple filter view filtering events using a filter expression tree.
Field Summary |
---|
Fields inherited from class net.esper.view.ViewSupport |
---|
parent |
Constructor Summary | |
---|---|
FilterExprView(ExprEvaluator exprEvaluator)
Ctor. |
Method Summary | |
---|---|
String |
attachesTo(Viewable parentViewable)
Return null if the view will accept being attached to a particular object. |
protected static EventBean[] |
filterEvents(ExprEvaluator exprEvaluator,
EventBean[] events)
Filters events using the supplied evaluator. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent. |
Methods inherited from class net.esper.view.ViewSupport |
---|
addView, dumpChildViews, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, setParent, shallowCopyView, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterExprView(ExprEvaluator exprEvaluator)
exprEvaluator
- - Filter expression evaluation implMethod Detail |
---|
public EventType getEventType()
EventCollection
public Iterator<EventBean> iterator()
EventCollection
public String attachesTo(Viewable parentViewable)
View
parentViewable
- is the potential parent for this view
public void update(EventBean[] newData, EventBean[] oldData)
View
newData
- is the new data that has been added to the parent viewoldData
- is the old data that has been removed from the parent viewprotected static EventBean[] filterEvents(ExprEvaluator exprEvaluator, EventBean[] events)
exprEvaluator
- - evaluator to useevents
- - events to filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |