Interface HiveMetastoreServiceGrpc.AsyncService
- All Known Implementing Classes:
HiveMetastoreServiceGrpc.HiveMetastoreServiceImplBase
- Enclosing class:
- HiveMetastoreServiceGrpc
public static interface HiveMetastoreServiceGrpc.AsyncService
Hive Metastore Service is a biglake service that allows users to manage their external Hive catalogs. Full API compatibility with OSS Hive Metastore APIs is not supported. The methods match the Hive Metastore API spec mostly except for a few exceptions. These include listing resources with pattern, environment context which are combined in a single List API, return of ListResponse object instead of a list of resources, transactions, locks, etc. The BigLake Hive Metastore API defines the following resources: * A collection of Google Cloud projects: `/projects/*` * Each project has a collection of catalogs: `/catalogs/*` * Each catalog has a collection of databases: `/databases/*` * Each database has a collection of tables: `/tables/*`
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbatchCreatePartitions(BatchCreatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchCreatePartitionsResponse> responseObserver) Adds partitions to a table.default voidbatchDeletePartitions(BatchDeletePartitionsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes partitions from a table.default voidbatchUpdatePartitions(BatchUpdatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchUpdatePartitionsResponse> responseObserver) Updates partitions in a table.default voidcreateHiveCatalog(CreateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Creates a new hive catalog.default voidcreateHiveDatabase(CreateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Creates a new database.default voidcreateHiveTable(CreateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Creates a new hive table.default voiddeleteHiveCatalog(DeleteHiveCatalogRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing catalog specified by the catalog ID.default voiddeleteHiveDatabase(DeleteHiveDatabaseRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing database specified by the database name.default voiddeleteHiveTable(DeleteHiveTableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing table specified by the table name.default voidgetHiveCatalog(GetHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Gets the catalog specified by the resource name.default voidgetHiveDatabase(GetHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Gets the database specified by the resource name.default voidgetHiveTable(GetHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Gets the table specified by the resource name.default voidlistHiveCatalogs(ListHiveCatalogsRequest request, io.grpc.stub.StreamObserver<ListHiveCatalogsResponse> responseObserver) List all catalogs in a specified project.default voidlistHiveDatabases(ListHiveDatabasesRequest request, io.grpc.stub.StreamObserver<ListHiveDatabasesResponse> responseObserver) List all databases in a specified catalog.default voidlistHiveTables(ListHiveTablesRequest request, io.grpc.stub.StreamObserver<ListHiveTablesResponse> responseObserver) List all hive tables in a specified project under the hive catalog and database.default voidlistPartitions(ListPartitionsRequest request, io.grpc.stub.StreamObserver<ListPartitionsResponse> responseObserver) Streams list of partitions from a table.default voidupdateHiveCatalog(UpdateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Updates an existing catalog.default voidupdateHiveDatabase(UpdateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Updates an existing database specified by the database name.default voidupdateHiveTable(UpdateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Updates an existing table specified by the table name.
-
Method Details
-
createHiveCatalog
default void createHiveCatalog(CreateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Creates a new hive catalog.
-
getHiveCatalog
default void getHiveCatalog(GetHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Gets the catalog specified by the resource name.
-
listHiveCatalogs
default void listHiveCatalogs(ListHiveCatalogsRequest request, io.grpc.stub.StreamObserver<ListHiveCatalogsResponse> responseObserver) List all catalogs in a specified project.
-
updateHiveCatalog
default void updateHiveCatalog(UpdateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Updates an existing catalog.
-
deleteHiveCatalog
default void deleteHiveCatalog(DeleteHiveCatalogRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing catalog specified by the catalog ID. Delete will fail if the catalog is not empty.
-
createHiveDatabase
default void createHiveDatabase(CreateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Creates a new database.
-
getHiveDatabase
default void getHiveDatabase(GetHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Gets the database specified by the resource name.
-
listHiveDatabases
default void listHiveDatabases(ListHiveDatabasesRequest request, io.grpc.stub.StreamObserver<ListHiveDatabasesResponse> responseObserver) List all databases in a specified catalog.
-
updateHiveDatabase
default void updateHiveDatabase(UpdateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Updates an existing database specified by the database name.
-
deleteHiveDatabase
default void deleteHiveDatabase(DeleteHiveDatabaseRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing database specified by the database name.
-
createHiveTable
default void createHiveTable(CreateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Creates a new hive table.
-
getHiveTable
default void getHiveTable(GetHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Gets the table specified by the resource name.
-
listHiveTables
default void listHiveTables(ListHiveTablesRequest request, io.grpc.stub.StreamObserver<ListHiveTablesResponse> responseObserver) List all hive tables in a specified project under the hive catalog and database.
-
updateHiveTable
default void updateHiveTable(UpdateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Updates an existing table specified by the table name.
-
deleteHiveTable
default void deleteHiveTable(DeleteHiveTableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing table specified by the table name.
-
batchCreatePartitions
default void batchCreatePartitions(BatchCreatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchCreatePartitionsResponse> responseObserver) Adds partitions to a table.
-
batchDeletePartitions
default void batchDeletePartitions(BatchDeletePartitionsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes partitions from a table.
-
batchUpdatePartitions
default void batchUpdatePartitions(BatchUpdatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchUpdatePartitionsResponse> responseObserver) Updates partitions in a table.
-
listPartitions
default void listPartitions(ListPartitionsRequest request, io.grpc.stub.StreamObserver<ListPartitionsResponse> responseObserver) Streams list of partitions from a table.
-