public static class EventUtils.MSClientNotificationFetcher extends Object implements EventUtils.NotificationFetcher
| Constructor and Description |
|---|
MSClientNotificationFetcher(IMetaStoreClient msc) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
long |
getCurrentNotificationEventId() |
long |
getDbNotificationEventsCount(long fromEventId,
String dbName) |
List<org.apache.hadoop.hive.metastore.api.NotificationEvent> |
getNextNotificationEvents(long pos,
IMetaStoreClient.NotificationFilter filter) |
public MSClientNotificationFetcher(IMetaStoreClient msc)
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)
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 © 2019 The Apache Software Foundation. All Rights Reserved.