public class EventUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EventUtils.MSClientNotificationFetcher |
static class |
EventUtils.NotificationEventIterator |
static interface |
EventUtils.NotificationFetcher |
Constructor and Description |
---|
EventUtils() |
Modifier and Type | Method and Description |
---|---|
static IMetaStoreClient.NotificationFilter |
andFilter(IMetaStoreClient.NotificationFilter... filters) |
static IMetaStoreClient.NotificationFilter |
getDbTblNotificationFilter(String dbName,
String tableName)
Utility function that constructs a notification filter to match a given db name and/or table name.
|
static IMetaStoreClient.NotificationFilter |
getEventBoundaryFilter(Long eventFrom,
Long eventTo) |
static IMetaStoreClient.NotificationFilter |
restrictByMessageFormat(String messageFormat) |
public static IMetaStoreClient.NotificationFilter getDbTblNotificationFilter(String dbName, String tableName)
dbName
- tableName
- public static IMetaStoreClient.NotificationFilter restrictByMessageFormat(String messageFormat)
public static IMetaStoreClient.NotificationFilter getEventBoundaryFilter(Long eventFrom, Long eventTo)
public static IMetaStoreClient.NotificationFilter andFilter(IMetaStoreClient.NotificationFilter... filters)
Copyright © 2021 The Apache Software Foundation. All rights reserved.