com.espertech.esper.epl.named
Class FilteredEventIterator
java.lang.Object
com.espertech.esper.epl.named.FilteredEventIterator
- All Implemented Interfaces:
- Iterator<EventBean>
public class FilteredEventIterator
- extends Object
- implements Iterator<EventBean>
An iterator that filters events suppied by another iterator,
using a list of one or more filter expressions as filter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredEventIterator
public FilteredEventIterator(List<ExprNode> filters,
Iterator<EventBean> parent)
- Ctor.
- Parameters:
filters
- is a list of expression nodes for filteringparent
- is the iterator supplying the events to apply the filter on
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<EventBean>
next
public EventBean next()
- Specified by:
next
in interface Iterator<EventBean>
remove
public void remove()
- Specified by:
remove
in interface Iterator<EventBean>