public static final class MetastoreServiceGrpc.MetastoreServiceBlockingStub extends AbstractBlockingStub<MetastoreServiceGrpc.MetastoreServiceBlockingStub>
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.MetastoreServiceBlockingStub
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(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.withWaitForReady()
Methods
protected MetastoreServiceGrpc.MetastoreServiceBlockingStub 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 | |
public Catalog createCatalog(CreateCatalogRequest request)
public Database createDatabase(CreateDatabaseRequest request)
public Lock createLock(CreateLockRequest request)
Returns |
---|
Type | Description |
Lock | |
public Table createTable(CreateTableRequest request)
Returns |
---|
Type | Description |
Table | |
public Catalog deleteCatalog(DeleteCatalogRequest request)
Deletes an existing catalog specified by the catalog ID.
public Database deleteDatabase(DeleteDatabaseRequest request)
Deletes an existing database specified by the database ID.
public Empty deleteLock(DeleteLockRequest request)
Deletes an existing lock specified by the lock ID.
Returns |
---|
Type | Description |
Empty | |
public Table deleteTable(DeleteTableRequest request)
Deletes an existing table specified by the table ID.
Returns |
---|
Type | Description |
Table | |
public Catalog getCatalog(GetCatalogRequest request)
Gets the catalog specified by the resource name.
public Database getDatabase(GetDatabaseRequest request)
Gets the database specified by the resource name.
public Table getTable(GetTableRequest request)
Gets the table specified by the resource name.
Returns |
---|
Type | Description |
Table | |
public ListCatalogsResponse listCatalogs(ListCatalogsRequest request)
List all catalogs in a specified project.
public ListDatabasesResponse listDatabases(ListDatabasesRequest request)
List all databases in a specified catalog.
public ListLocksResponse listLocks(ListLocksRequest request)
List all locks in a specified database.
public ListTablesResponse listTables(ListTablesRequest request)
List all tables in a specified database.
public Table renameTable(RenameTableRequest request)
Renames an existing table specified by the table ID.
Returns |
---|
Type | Description |
Table | |
public Database updateDatabase(UpdateDatabaseRequest request)
Updates an existing database specified by the database ID.
public Table updateTable(UpdateTableRequest request)
Updates an existing table specified by the table ID.
Returns |
---|
Type | Description |
Table | |