Class MetastoreServiceGrpc.MetastoreServiceBlockingStub (0.41.0)

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

Methods

build(Channel channel, CallOptions callOptions)

protected MetastoreServiceGrpc.MetastoreServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MetastoreServiceGrpc.MetastoreServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

checkLock(CheckLockRequest request)

public Lock checkLock(CheckLockRequest request)

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

Parameter
Name Description
request CheckLockRequest
Returns
Type Description
Lock

createCatalog(CreateCatalogRequest request)

public Catalog createCatalog(CreateCatalogRequest request)

Creates a new catalog.

Parameter
Name Description
request CreateCatalogRequest
Returns
Type Description
Catalog

createDatabase(CreateDatabaseRequest request)

public Database createDatabase(CreateDatabaseRequest request)

Creates a new database.

Parameter
Name Description
request CreateDatabaseRequest
Returns
Type Description
Database

createLock(CreateLockRequest request)

public Lock createLock(CreateLockRequest request)

Creates a new lock.

Parameter
Name Description
request CreateLockRequest
Returns
Type Description
Lock

createTable(CreateTableRequest request)

public Table createTable(CreateTableRequest request)

Creates a new table.

Parameter
Name Description
request CreateTableRequest
Returns
Type Description
Table

deleteCatalog(DeleteCatalogRequest request)

public Catalog deleteCatalog(DeleteCatalogRequest request)

Deletes an existing catalog specified by the catalog ID.

Parameter
Name Description
request DeleteCatalogRequest
Returns
Type Description
Catalog

deleteDatabase(DeleteDatabaseRequest request)

public Database deleteDatabase(DeleteDatabaseRequest request)

Deletes an existing database specified by the database ID.

Parameter
Name Description
request DeleteDatabaseRequest
Returns
Type Description
Database

deleteLock(DeleteLockRequest request)

public Empty deleteLock(DeleteLockRequest request)

Deletes an existing lock specified by the lock ID.

Parameter
Name Description
request DeleteLockRequest
Returns
Type Description
Empty

deleteTable(DeleteTableRequest request)

public Table deleteTable(DeleteTableRequest request)

Deletes an existing table specified by the table ID.

Parameter
Name Description
request DeleteTableRequest
Returns
Type Description
Table

getCatalog(GetCatalogRequest request)

public Catalog getCatalog(GetCatalogRequest request)

Gets the catalog specified by the resource name.

Parameter
Name Description
request GetCatalogRequest
Returns
Type Description
Catalog

getDatabase(GetDatabaseRequest request)

public Database getDatabase(GetDatabaseRequest request)

Gets the database specified by the resource name.

Parameter
Name Description
request GetDatabaseRequest
Returns
Type Description
Database

getTable(GetTableRequest request)

public Table getTable(GetTableRequest request)

Gets the table specified by the resource name.

Parameter
Name Description
request GetTableRequest
Returns
Type Description
Table

listCatalogs(ListCatalogsRequest request)

public ListCatalogsResponse listCatalogs(ListCatalogsRequest request)

List all catalogs in a specified project.

Parameter
Name Description
request ListCatalogsRequest
Returns
Type Description
ListCatalogsResponse

listDatabases(ListDatabasesRequest request)

public ListDatabasesResponse listDatabases(ListDatabasesRequest request)

List all databases in a specified catalog.

Parameter
Name Description
request ListDatabasesRequest
Returns
Type Description
ListDatabasesResponse

listLocks(ListLocksRequest request)

public ListLocksResponse listLocks(ListLocksRequest request)

List all locks in a specified database.

Parameter
Name Description
request ListLocksRequest
Returns
Type Description
ListLocksResponse

listTables(ListTablesRequest request)

public ListTablesResponse listTables(ListTablesRequest request)

List all tables in a specified database.

Parameter
Name Description
request ListTablesRequest
Returns
Type Description
ListTablesResponse

renameTable(RenameTableRequest request)

public Table renameTable(RenameTableRequest request)

Renames an existing table specified by the table ID.

Parameter
Name Description
request RenameTableRequest
Returns
Type Description
Table

updateDatabase(UpdateDatabaseRequest request)

public Database updateDatabase(UpdateDatabaseRequest request)

Updates an existing database specified by the database ID.

Parameter
Name Description
request UpdateDatabaseRequest
Returns
Type Description
Database

updateTable(UpdateTableRequest request)

public Table updateTable(UpdateTableRequest request)

Updates an existing table specified by the table ID.

Parameter
Name Description
request UpdateTableRequest
Returns
Type Description
Table