Class MetastoreServiceGrpc.MetastoreServiceBlockingStub (0.8.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MetastoreServiceGrpc.MetastoreServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCatalog(CreateCatalogRequest request)

public Catalog createCatalog(CreateCatalogRequest request)

Creates a new catalog.

Parameter
NameDescription
requestCreateCatalogRequest
Returns
TypeDescription
Catalog

createDatabase(CreateDatabaseRequest request)

public Database createDatabase(CreateDatabaseRequest request)

Creates a new database.

Parameter
NameDescription
requestCreateDatabaseRequest
Returns
TypeDescription
Database

createTable(CreateTableRequest request)

public Table createTable(CreateTableRequest request)

Creates a new table.

Parameter
NameDescription
requestCreateTableRequest
Returns
TypeDescription
Table

deleteCatalog(DeleteCatalogRequest request)

public Catalog deleteCatalog(DeleteCatalogRequest request)

Deletes an existing catalog specified by the catalog ID.

Parameter
NameDescription
requestDeleteCatalogRequest
Returns
TypeDescription
Catalog

deleteDatabase(DeleteDatabaseRequest request)

public Database deleteDatabase(DeleteDatabaseRequest request)

Deletes an existing database specified by the database ID.

Parameter
NameDescription
requestDeleteDatabaseRequest
Returns
TypeDescription
Database

deleteTable(DeleteTableRequest request)

public Table deleteTable(DeleteTableRequest request)

Deletes an existing table specified by the table ID.

Parameter
NameDescription
requestDeleteTableRequest
Returns
TypeDescription
Table

getCatalog(GetCatalogRequest request)

public Catalog getCatalog(GetCatalogRequest request)

Gets the catalog specified by the resource name.

Parameter
NameDescription
requestGetCatalogRequest
Returns
TypeDescription
Catalog

getDatabase(GetDatabaseRequest request)

public Database getDatabase(GetDatabaseRequest request)

Gets the database specified by the resource name.

Parameter
NameDescription
requestGetDatabaseRequest
Returns
TypeDescription
Database

getTable(GetTableRequest request)

public Table getTable(GetTableRequest request)

Gets the table specified by the resource name.

Parameter
NameDescription
requestGetTableRequest
Returns
TypeDescription
Table

listCatalogs(ListCatalogsRequest request)

public ListCatalogsResponse listCatalogs(ListCatalogsRequest request)

List all catalogs in a specified project.

Parameter
NameDescription
requestListCatalogsRequest
Returns
TypeDescription
ListCatalogsResponse

listDatabases(ListDatabasesRequest request)

public ListDatabasesResponse listDatabases(ListDatabasesRequest request)

List all databases in a specified catalog.

Parameter
NameDescription
requestListDatabasesRequest
Returns
TypeDescription
ListDatabasesResponse

listTables(ListTablesRequest request)

public ListTablesResponse listTables(ListTablesRequest request)

List all tables in a specified database.

Parameter
NameDescription
requestListTablesRequest
Returns
TypeDescription
ListTablesResponse

renameTable(RenameTableRequest request)

public Table renameTable(RenameTableRequest request)

Renames an existing table specified by the table ID.

Parameter
NameDescription
requestRenameTableRequest
Returns
TypeDescription
Table

updateDatabase(UpdateDatabaseRequest request)

public Database updateDatabase(UpdateDatabaseRequest request)

Updates an existing database specified by the database ID.

Parameter
NameDescription
requestUpdateDatabaseRequest
Returns
TypeDescription
Database

updateTable(UpdateTableRequest request)

public Table updateTable(UpdateTableRequest request)

Updates an existing table specified by the table ID.

Parameter
NameDescription
requestUpdateTableRequest
Returns
TypeDescription
Table