public class GrpcMetastoreServiceStub extends MetastoreServiceStub
gRPC 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 GrpcMetastoreServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetastoreServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetastoreServiceStub create(MetastoreServiceStubSettings settings)
Constructors
GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext)
protected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcMetastoreServiceStub, 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.
GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetastoreServiceStub, 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 GrpcOperationsStub getOperationsStub()
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 UnaryCallable<RenameTableRequest,Table> renameTableCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateDatabaseRequest,Database> updateDatabaseCallable()
Overrides
public UnaryCallable<UpdateTableRequest,Table> updateTableCallable()
Overrides