public static class EventUtils.NotificationEventIterator extends Object implements Iterator<NotificationEvent>
Constructor and Description |
---|
NotificationEventIterator(EventUtils.NotificationFetcher nfetcher,
long eventFrom,
int maxEvents,
IMetaStoreClient.NotificationFilter filter) |
NotificationEventIterator(EventUtils.NotificationFetcher nfetcher,
long eventFrom,
int maxEvents,
String dbName,
String tableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
NotificationEvent |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public NotificationEventIterator(EventUtils.NotificationFetcher nfetcher, long eventFrom, int maxEvents, String dbName, String tableName) throws IOException
IOException
public NotificationEventIterator(EventUtils.NotificationFetcher nfetcher, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws IOException
IOException
public boolean hasNext()
hasNext
in interface Iterator<NotificationEvent>
public NotificationEvent next()
next
in interface Iterator<NotificationEvent>
public void remove()
remove
in interface Iterator<NotificationEvent>
Copyright © 2021 The Apache Software Foundation. All rights reserved.