org.apache.hadoop.hive.metastore.api.ShowLocksResponse Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.api.ShowLocksResponse.
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: FederatedHMSHandlerTest.java From waggle-dance with Apache License 2.0 | 5 votes |
@Test public void show_locks() throws TException { ShowLocksRequest request = new ShowLocksRequest(); ShowLocksResponse expected = new ShowLocksResponse(); when(primaryClient.show_locks(request)).thenReturn(expected); ShowLocksResponse result = handler.show_locks(request); assertThat(result, is(expected)); }
Example #2
Source File: GlueMetastoreClientDelegate.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
public ShowLocksResponse showLocks() throws TException { throw new UnsupportedOperationException("showLocks is not supported"); }
Example #3
Source File: GlueMetastoreClientDelegate.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
public ShowLocksResponse showLocks(ShowLocksRequest showLocksRequest) throws TException { throw new UnsupportedOperationException("showLocks is not supported"); }
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 ShowLocksResponse showLocks() throws TException { return glueMetastoreClientDelegate.showLocks(); }
Example #5
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public ShowLocksResponse showLocks() throws TException { return glueMetastoreClientDelegate.showLocks(); }
Example #6
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public ShowLocksResponse showLocks(ShowLocksRequest showLocksRequest) throws TException { return glueMetastoreClientDelegate.showLocks(showLocksRequest); }
Example #7
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 ShowLocksResponse show_locks(ShowLocksRequest rqst) throws TException { return getPrimaryClient().show_locks(rqst); }
Example #8
Source File: CatalogThriftHiveMetastore.java From metacat with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public ShowLocksResponse show_locks(final ShowLocksRequest rqst) throws TException { throw unimplemented("show_locks", new Object[]{rqst}); }