public class HttpJsonMetastoreServiceStub extends MetastoreServiceStub
REST stub implementation for the MetastoreService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonMetastoreServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonMetastoreServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonMetastoreServiceStub create(MetastoreServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public UnaryCallable<CheckLockRequest,Lock> checkLockCallable()
Overrides
public final void close()
Overrides
public UnaryCallable<CreateCatalogRequest,Catalog> createCatalogCallable()
Overrides
public UnaryCallable<CreateDatabaseRequest,Database> createDatabaseCallable()
Overrides
public UnaryCallable<CreateLockRequest,Lock> createLockCallable()
Overrides
public UnaryCallable<CreateTableRequest,Table> createTableCallable()
Overrides
public UnaryCallable<DeleteCatalogRequest,Catalog> deleteCatalogCallable()
Overrides
public UnaryCallable<DeleteDatabaseRequest,Database> deleteDatabaseCallable()
Overrides
public UnaryCallable<DeleteLockRequest,Empty> deleteLockCallable()
Overrides
public UnaryCallable<DeleteTableRequest,Table> deleteTableCallable()
Overrides
public UnaryCallable<GetCatalogRequest,Catalog> getCatalogCallable()
Overrides
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Overrides
public UnaryCallable<GetTableRequest,Table> getTableCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListCatalogsRequest,ListCatalogsResponse> listCatalogsCallable()
Overrides
listCatalogsPagedCallable()
public UnaryCallable<ListCatalogsRequest,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsPagedCallable()
Overrides
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Overrides
listDatabasesPagedCallable()
public UnaryCallable<ListDatabasesRequest,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
Overrides
public UnaryCallable<ListLocksRequest,ListLocksResponse> listLocksCallable()
Overrides
listLocksPagedCallable()
public UnaryCallable<ListLocksRequest,MetastoreServiceClient.ListLocksPagedResponse> listLocksPagedCallable()
Overrides
public UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
Overrides
listTablesPagedCallable()
public UnaryCallable<ListTablesRequest,MetastoreServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateDatabaseRequest,Database> updateDatabaseCallable()
Overrides
public UnaryCallable<UpdateTableRequest,Table> updateTableCallable()
Overrides