Class MetastoreServiceGrpc.MetastoreServiceFutureStub (0.5.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

Methods

build(Channel channel, CallOptions callOptions)

protected MetastoreServiceGrpc.MetastoreServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MetastoreServiceGrpc.MetastoreServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

checkLock(CheckLockRequest request)

public ListenableFuture<Lock> checkLock(CheckLockRequest request)

Checks the state of a lock specified by the lock ID.

Parameter
NameDescription
requestCheckLockRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Lock>

createCatalog(CreateCatalogRequest request)

public ListenableFuture<Catalog> createCatalog(CreateCatalogRequest request)

Creates a new catalog.

Parameter
NameDescription
requestCreateCatalogRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Catalog>

createDatabase(CreateDatabaseRequest request)

public ListenableFuture<Database> createDatabase(CreateDatabaseRequest request)

Creates a new database.

Parameter
NameDescription
requestCreateDatabaseRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Database>

createLock(CreateLockRequest request)

public ListenableFuture<Lock> createLock(CreateLockRequest request)

Creates a new lock.

Parameter
NameDescription
requestCreateLockRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Lock>

createTable(CreateTableRequest request)

public ListenableFuture<Table> createTable(CreateTableRequest request)

Creates a new table.

Parameter
NameDescription
requestCreateTableRequest
Returns
TypeDescription
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
NameDescription
requestDeleteCatalogRequest
Returns
TypeDescription
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
NameDescription
requestDeleteDatabaseRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Database>

deleteLock(DeleteLockRequest request)

public ListenableFuture<Empty> deleteLock(DeleteLockRequest request)

Deletes an existing lock specified by the lock ID.

Parameter
NameDescription
requestDeleteLockRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteTable(DeleteTableRequest request)

public ListenableFuture<Table> deleteTable(DeleteTableRequest request)

Deletes an existing table specified by the table ID.

Parameter
NameDescription
requestDeleteTableRequest
Returns
TypeDescription
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
NameDescription
requestGetCatalogRequest
Returns
TypeDescription
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
NameDescription
requestGetDatabaseRequest
Returns
TypeDescription
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
NameDescription
requestGetTableRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Table>

listCatalogs(ListCatalogsRequest request)

public ListenableFuture<ListCatalogsResponse> listCatalogs(ListCatalogsRequest request)

List all catalogs in a specified project.

Parameter
NameDescription
requestListCatalogsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCatalogsResponse>

listDatabases(ListDatabasesRequest request)

public ListenableFuture<ListDatabasesResponse> listDatabases(ListDatabasesRequest request)

List all databases in a specified catalog.

Parameter
NameDescription
requestListDatabasesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDatabasesResponse>

listLocks(ListLocksRequest request)

public ListenableFuture<ListLocksResponse> listLocks(ListLocksRequest request)

List all locks in a specified database.

Parameter
NameDescription
requestListLocksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLocksResponse>

listTables(ListTablesRequest request)

public ListenableFuture<ListTablesResponse> listTables(ListTablesRequest request)

List all tables in a specified database.

Parameter
NameDescription
requestListTablesRequest
Returns
TypeDescription
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
NameDescription
requestRenameTableRequest
Returns
TypeDescription
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
NameDescription
requestUpdateDatabaseRequest
Returns
TypeDescription
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
NameDescription
requestUpdateTableRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Table>