public static class EventUtils.NotificationEventIterator extends Object implements Iterator<org.apache.hadoop.hive.metastore.api.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() |
org.apache.hadoop.hive.metastore.api.NotificationEvent |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic NotificationEventIterator(EventUtils.NotificationFetcher nfetcher, long eventFrom, int maxEvents, String dbName, String tableName) throws IOException
IOExceptionpublic NotificationEventIterator(EventUtils.NotificationFetcher nfetcher, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws IOException
IOExceptionpublic boolean hasNext()
hasNext in interface Iterator<org.apache.hadoop.hive.metastore.api.NotificationEvent>public org.apache.hadoop.hive.metastore.api.NotificationEvent next()
next in interface Iterator<org.apache.hadoop.hive.metastore.api.NotificationEvent>public void remove()
remove in interface Iterator<org.apache.hadoop.hive.metastore.api.NotificationEvent>Copyright © 2022 The Apache Software Foundation. All rights reserved.