org.apache.hadoop.hive.metastore.api.NotificationEventResponse Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.api.NotificationEventResponse.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GlueMetastoreClientDelegate.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 5 votes |
public NotificationEventResponse getNextNotification( long lastEventId, int maxEvents, IMetaStoreClient.NotificationFilter notificationFilter ) throws TException { throw new UnsupportedOperationException("getNextNotification is not supported"); }
Example #2
Source File: FederatedHMSHandlerTest.java From waggle-dance with Apache License 2.0 | 5 votes |
@Test public void get_next_notification() throws TException { NotificationEventRequest request = new NotificationEventRequest(); NotificationEventResponse expected = new NotificationEventResponse(); when(primaryClient.get_next_notification(request)).thenReturn(expected); NotificationEventResponse result = handler.get_next_notification(request); assertThat(result, is(expected)); }
Example #3
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public NotificationEventResponse getNextNotification( long lastEventId, int maxEvents, NotificationFilter notificationFilter) throws TException { return glueMetastoreClientDelegate.getNextNotification(lastEventId, maxEvents, notificationFilter); }
Example #4
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public NotificationEventResponse getNextNotification( long lastEventId, int maxEvents, NotificationFilter notificationFilter) throws TException { return glueMetastoreClientDelegate.getNextNotification(lastEventId, maxEvents, notificationFilter); }
Example #5
Source File: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 4 votes |
@Override @Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME) public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws TException { return getPrimaryClient().get_next_notification(rqst); }
Example #6
Source File: CatalogThriftHiveMetastore.java From metacat with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public NotificationEventResponse get_next_notification(final NotificationEventRequest rqst) throws TException { throw unimplemented("get_next_notification", new Object[]{rqst}); }