Interface MetastoreServiceGrpc.AsyncService (0.10.0)

public static interface MetastoreServiceGrpc.AsyncService

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/*

Methods

createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)

public default 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 default void createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)

Creates a new database.

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

createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

public default 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 default 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 default void deleteDatabase(DeleteDatabaseRequest request, StreamObserver<Database> responseObserver)

Deletes an existing database specified by the database ID.

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

deleteTable(DeleteTableRequest request, StreamObserver<Table> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default void listDatabases(ListDatabasesRequest request, StreamObserver<ListDatabasesResponse> responseObserver)

List all databases in a specified catalog.

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

listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

public default 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 default 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 default 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 default void updateTable(UpdateTableRequest request, StreamObserver<Table> responseObserver)

Updates an existing table specified by the table ID.

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