|
||||||||||
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 | |
---|---|
protected static EventBean[] |
filterEvents(ExprEvaluator exprEvaluator,
EventBean[] events,
boolean isNewData)
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, 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 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, boolean isNewData)
exprEvaluator
- - evaluator to useevents
- - events to filterisNewData
- - true to indicate filter new data (istream) and not old data (rstream)
|
© 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 |