Class MetastoreServiceGrpc.MetastoreServiceFutureStub (0.31.0)

public static final class MetastoreServiceGrpc.MetastoreServiceFutureStub extends AbstractFutureStub<MetastoreServiceGrpc.MetastoreServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > MetastoreServiceGrpc.MetastoreServiceFutureStub
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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

build(Channel channel, CallOptions callOptions)

protected MetastoreServiceGrpc.MetastoreServiceFutureStub 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)

createCatalog(CreateCatalogRequest request)

public ListenableFuture<Catalog> createCatalog(CreateCatalogRequest request)

Creates a new catalog.

Parameter
Name Description
request CreateCatalogRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Catalog>

createDatabase(CreateDatabaseRequest request)

public ListenableFuture<Database> createDatabase(CreateDatabaseRequest request)

Creates a new database.

Parameter
Name Description
request CreateDatabaseRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Database>

createTable(CreateTableRequest request)

public ListenableFuture<Table> createTable(CreateTableRequest request)

Creates a new table.

Parameter
Name Description
request CreateTableRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Table>

deleteCatalog(DeleteCatalogRequest request)

public ListenableFuture<Catalog> deleteCatalog(DeleteCatalogRequest request)

Deletes an existing catalog specified by the catalog ID.

Parameter
Name Description
request DeleteCatalogRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Catalog>

deleteDatabase(DeleteDatabaseRequest request)

public ListenableFuture<Database> deleteDatabase(DeleteDatabaseRequest request)

Deletes an existing database specified by the database ID.

Parameter
Name Description
request DeleteDatabaseRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Database>

deleteTable(DeleteTableRequest request)

public ListenableFuture<Table> deleteTable(DeleteTableRequest request)

Deletes an existing table specified by the table ID.

Parameter
Name Description
request DeleteTableRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Table>

getCatalog(GetCatalogRequest request)

public ListenableFuture<Catalog> getCatalog(GetCatalogRequest request)

Gets the catalog specified by the resource name.

Parameter
Name Description
request GetCatalogRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Catalog>

getDatabase(GetDatabaseRequest request)

public ListenableFuture<Database> getDatabase(GetDatabaseRequest request)

Gets the database specified by the resource name.

Parameter
Name Description
request GetDatabaseRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Database>

getTable(GetTableRequest request)

public ListenableFuture<Table> getTable(GetTableRequest request)

Gets the table specified by the resource name.

Parameter
Name Description
request GetTableRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Table>

listCatalogs(ListCatalogsRequest request)

public ListenableFuture<ListCatalogsResponse> listCatalogs(ListCatalogsRequest request)

List all catalogs in a specified project.

Parameter
Name Description
request ListCatalogsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCatalogsResponse>

listDatabases(ListDatabasesRequest request)

public ListenableFuture<ListDatabasesResponse> listDatabases(ListDatabasesRequest request)

List all databases in a specified catalog.

Parameter
Name Description
request ListDatabasesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDatabasesResponse>

listTables(ListTablesRequest request)

public ListenableFuture<ListTablesResponse> listTables(ListTablesRequest request)

List all tables in a specified database.

Parameter
Name Description
request ListTablesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTablesResponse>

renameTable(RenameTableRequest request)

public ListenableFuture<Table> renameTable(RenameTableRequest request)

Renames an existing table specified by the table ID.

Parameter
Name Description
request RenameTableRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Table>

updateDatabase(UpdateDatabaseRequest request)

public ListenableFuture<Database> updateDatabase(UpdateDatabaseRequest request)

Updates an existing database specified by the database ID.

Parameter
Name Description
request UpdateDatabaseRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Database>

updateTable(UpdateTableRequest request)

public ListenableFuture<Table> updateTable(UpdateTableRequest request)

Updates an existing table specified by the table ID.

Parameter
Name Description
request UpdateTableRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Table>