public static class EventUtils.MSClientNotificationFetcher extends Object implements EventUtils.NotificationFetcher
| Constructor and Description |
|---|
MSClientNotificationFetcher(Hive hiveDb) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
long |
getCurrentNotificationEventId() |
long |
getDbNotificationEventsCount(long fromEventId,
String dbName,
Long toEventId,
int limit) |
List<org.apache.hadoop.hive.metastore.api.NotificationEvent> |
getNextNotificationEvents(long pos,
IMetaStoreClient.NotificationFilter filter) |
public MSClientNotificationFetcher(Hive hiveDb)
public int getBatchSize()
throws IOException
getBatchSize in interface EventUtils.NotificationFetcherIOExceptionpublic long getCurrentNotificationEventId()
throws IOException
getCurrentNotificationEventId in interface EventUtils.NotificationFetcherIOExceptionpublic long getDbNotificationEventsCount(long fromEventId,
String dbName,
Long toEventId,
int limit)
throws IOException
getDbNotificationEventsCount in interface EventUtils.NotificationFetcherIOExceptionpublic List<org.apache.hadoop.hive.metastore.api.NotificationEvent> getNextNotificationEvents(long pos, IMetaStoreClient.NotificationFilter filter) throws IOException
getNextNotificationEvents in interface EventUtils.NotificationFetcherIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.