Class MetastoreServiceGrpc.MetastoreServiceStub (0.12.0)

public static final class MetastoreServiceGrpc.MetastoreServiceStub extends AbstractAsyncStub<MetastoreServiceGrpc.MetastoreServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MetastoreServiceGrpc.MetastoreServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

checkLock(CheckLockRequest request, StreamObserver<Lock> responseObserver)

public void checkLock(CheckLockRequest request, StreamObserver<Lock> responseObserver)

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

Parameters
NameDescription
requestCheckLockRequest
responseObserverio.grpc.stub.StreamObserver<Lock>

createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)

public void createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)

Creates a new catalog.

Parameters
NameDescription
requestCreateCatalogRequest
responseObserverio.grpc.stub.StreamObserver<Catalog>

createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)

public void createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)

Creates a new database.

Parameters
NameDescription
requestCreateDatabaseRequest
responseObserverio.grpc.stub.StreamObserver<Database>

createLock(CreateLockRequest request, StreamObserver<Lock> responseObserver)

public void createLock(CreateLockRequest request, StreamObserver<Lock> responseObserver)

Creates a new lock.

Parameters
NameDescription
requestCreateLockRequest
responseObserverio.grpc.stub.StreamObserver<Lock>

createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

public void createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

Creates a new table.

Parameters
NameDescription
requestCreateTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

deleteCatalog(DeleteCatalogRequest request, StreamObserver<Catalog> responseObserver)

public void deleteCatalog(DeleteCatalogRequest request, StreamObserver<Catalog> responseObserver)

Deletes an existing catalog specified by the catalog ID.

Parameters
NameDescription
requestDeleteCatalogRequest
responseObserverio.grpc.stub.StreamObserver<Catalog>

deleteDatabase(DeleteDatabaseRequest request, StreamObserver<Database> responseObserver)

public void deleteDatabase(DeleteDatabaseRequest request, StreamObserver<Database> responseObserver)

Deletes an existing database specified by the database ID.

Parameters
NameDescription
requestDeleteDatabaseRequest
responseObserverio.grpc.stub.StreamObserver<Database>

deleteLock(DeleteLockRequest request, StreamObserver<Empty> responseObserver)

public void deleteLock(DeleteLockRequest request, StreamObserver<Empty> responseObserver)

Deletes an existing lock specified by the lock ID.

Parameters
NameDescription
requestDeleteLockRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteTable(DeleteTableRequest request, StreamObserver<Table> responseObserver)

public void deleteTable(DeleteTableRequest request, StreamObserver<Table> responseObserver)

Deletes an existing table specified by the table ID.

Parameters
NameDescription
requestDeleteTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

getCatalog(GetCatalogRequest request, StreamObserver<Catalog> responseObserver)

public void getCatalog(GetCatalogRequest request, StreamObserver<Catalog> responseObserver)

Gets the catalog specified by the resource name.

Parameters
NameDescription
requestGetCatalogRequest
responseObserverio.grpc.stub.StreamObserver<Catalog>

getDatabase(GetDatabaseRequest request, StreamObserver<Database> responseObserver)

public void getDatabase(GetDatabaseRequest request, StreamObserver<Database> responseObserver)

Gets the database specified by the resource name.

Parameters
NameDescription
requestGetDatabaseRequest
responseObserverio.grpc.stub.StreamObserver<Database>

getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

public void getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

Gets the table specified by the resource name.

Parameters
NameDescription
requestGetTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

listCatalogs(ListCatalogsRequest request, StreamObserver<ListCatalogsResponse> responseObserver)

public void listCatalogs(ListCatalogsRequest request, StreamObserver<ListCatalogsResponse> responseObserver)

List all catalogs in a specified project.

Parameters
NameDescription
requestListCatalogsRequest
responseObserverio.grpc.stub.StreamObserver<ListCatalogsResponse>

listDatabases(ListDatabasesRequest request, StreamObserver<ListDatabasesResponse> responseObserver)

public void listDatabases(ListDatabasesRequest request, StreamObserver<ListDatabasesResponse> responseObserver)

List all databases in a specified catalog.

Parameters
NameDescription
requestListDatabasesRequest
responseObserverio.grpc.stub.StreamObserver<ListDatabasesResponse>

listLocks(ListLocksRequest request, StreamObserver<ListLocksResponse> responseObserver)

public void listLocks(ListLocksRequest request, StreamObserver<ListLocksResponse> responseObserver)

List all locks in a specified database.

Parameters
NameDescription
requestListLocksRequest
responseObserverio.grpc.stub.StreamObserver<ListLocksResponse>

listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

public void listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

List all tables in a specified database.

Parameters
NameDescription
requestListTablesRequest
responseObserverio.grpc.stub.StreamObserver<ListTablesResponse>

renameTable(RenameTableRequest request, StreamObserver<Table> responseObserver)

public void renameTable(RenameTableRequest request, StreamObserver<Table> responseObserver)

Renames an existing table specified by the table ID.

Parameters
NameDescription
requestRenameTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

updateDatabase(UpdateDatabaseRequest request, StreamObserver<Database> responseObserver)

public void updateDatabase(UpdateDatabaseRequest request, StreamObserver<Database> responseObserver)

Updates an existing database specified by the database ID.

Parameters
NameDescription
requestUpdateDatabaseRequest
responseObserverio.grpc.stub.StreamObserver<Database>

updateTable(UpdateTableRequest request, StreamObserver<Table> responseObserver)

public void updateTable(UpdateTableRequest request, StreamObserver<Table> responseObserver)

Updates an existing table specified by the table ID.

Parameters
NameDescription
requestUpdateTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>