Interface MetastoreServiceGrpc.AsyncService (0.41.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

checkLock(CheckLockRequest request, StreamObserver<Lock> responseObserver)

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

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

Parameters
Name Description
request CheckLockRequest
responseObserver io.grpc.stub.StreamObserver<Lock>

createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)

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

Creates a new catalog.

Parameters
Name Description
request CreateCatalogRequest
responseObserver io.grpc.stub.StreamObserver<Catalog>

createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)

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

Creates a new database.

Parameters
Name Description
request CreateDatabaseRequest
responseObserver io.grpc.stub.StreamObserver<Database>

createLock(CreateLockRequest request, StreamObserver<Lock> responseObserver)

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

Creates a new lock.

Parameters
Name Description
request CreateLockRequest
responseObserver io.grpc.stub.StreamObserver<Lock>

createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

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

Creates a new table.

Parameters
Name Description
request CreateTableRequest
responseObserver io.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
Name Description
request DeleteCatalogRequest
responseObserver io.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
Name Description
request DeleteDatabaseRequest
responseObserver io.grpc.stub.StreamObserver<Database>

deleteLock(DeleteLockRequest request, StreamObserver<Empty> responseObserver)

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

Deletes an existing lock specified by the lock ID.

Parameters
Name Description
request DeleteLockRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

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
Name Description
request DeleteTableRequest
responseObserver io.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
Name Description
request GetCatalogRequest
responseObserver io.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
Name Description
request GetDatabaseRequest
responseObserver io.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
Name Description
request GetTableRequest
responseObserver io.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
Name Description
request ListCatalogsRequest
responseObserver io.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
Name Description
request ListDatabasesRequest
responseObserver io.grpc.stub.StreamObserver<ListDatabasesResponse>

listLocks(ListLocksRequest request, StreamObserver<ListLocksResponse> responseObserver)

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

List all locks in a specified database.

Parameters
Name Description
request ListLocksRequest
responseObserver io.grpc.stub.StreamObserver<ListLocksResponse>

listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

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

List all tables in a specified database.

Parameters
Name Description
request ListTablesRequest
responseObserver io.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
Name Description
request RenameTableRequest
responseObserver io.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
Name Description
request UpdateDatabaseRequest
responseObserver io.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
Name Description
request UpdateTableRequest
responseObserver io.grpc.stub.StreamObserver<Table>