public static final class MetastoreServiceGrpc.MetastoreServiceBlockingV2Stub extends AbstractBlockingStub<MetastoreServiceGrpc.MetastoreServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MetastoreService.
BigLake Metastore is a serverless, highly available, multi-tenant runtime
metastore for Google Cloud Data Analytics products.
The BigLake Metastore API defines the following resource model:
- A collection of Google Cloud projects:
/projects/*
- Each project has a collection of available locations:
/locations/*
- Each location has a collection of catalogs:
/catalogs/*
- Each catalog has a collection of databases:
/databases/*
- Each database has a collection of tables:
/tables/*
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
MetastoreServiceGrpc.MetastoreServiceBlockingV2Stub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected MetastoreServiceGrpc.MetastoreServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
| Parameters |
| Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public Lock checkLock(CheckLockRequest request)
Checks the state of a lock specified by the lock ID.
| Returns |
| Type |
Description |
Lock |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Catalog createCatalog(CreateCatalogRequest request)
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Database createDatabase(CreateDatabaseRequest request)
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Lock createLock(CreateLockRequest request)
| Returns |
| Type |
Description |
Lock |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Table createTable(CreateTableRequest request)
| Returns |
| Type |
Description |
Table |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Catalog deleteCatalog(DeleteCatalogRequest request)
Deletes an existing catalog specified by the catalog ID.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Database deleteDatabase(DeleteDatabaseRequest request)
Deletes an existing database specified by the database ID.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteLock(DeleteLockRequest request)
Deletes an existing lock specified by the lock ID.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Table deleteTable(DeleteTableRequest request)
Deletes an existing table specified by the table ID.
| Returns |
| Type |
Description |
Table |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Catalog getCatalog(GetCatalogRequest request)
Gets the catalog specified by the resource name.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Database getDatabase(GetDatabaseRequest request)
Gets the database specified by the resource name.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Table getTable(GetTableRequest request)
Gets the table specified by the resource name.
| Returns |
| Type |
Description |
Table |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListCatalogsResponse listCatalogs(ListCatalogsRequest request)
List all catalogs in a specified project.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListDatabasesResponse listDatabases(ListDatabasesRequest request)
List all databases in a specified catalog.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListLocksResponse listLocks(ListLocksRequest request)
List all locks in a specified database.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListTablesResponse listTables(ListTablesRequest request)
List all tables in a specified database.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Table renameTable(RenameTableRequest request)
Renames an existing table specified by the table ID.
| Returns |
| Type |
Description |
Table |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Database updateDatabase(UpdateDatabaseRequest request)
Updates an existing database specified by the database ID.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Table updateTable(UpdateTableRequest request)
Updates an existing table specified by the table ID.
| Returns |
| Type |
Description |
Table |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|