@Generated("by gapic-generator-java")
Package com.google.cloud.bigquery.biglake.v1alpha1
A client to BigLake API
The interfaces provided are listed below, along with usage samples.
======================= MetastoreServiceClient =======================
Service Description: 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/*`
Sample for MetastoreServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MetastoreServiceClient metastoreServiceClient = MetastoreServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Catalog catalog = Catalog.newBuilder().build();
String catalogId = "catalogId1455933204";
Catalog response = metastoreServiceClient.createCatalog(parent, catalog, catalogId);
}
-
Class Summary Class Description Catalog Catalog is the container of databases.Catalog.Builder Catalog is the container of databases.CatalogName CatalogName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}.CheckLockRequest Request message for the CheckLock method.CheckLockRequest.Builder Request message for the CheckLock method.CreateCatalogRequest Request message for the CreateCatalog method.CreateCatalogRequest.Builder Request message for the CreateCatalog method.CreateDatabaseRequest Request message for the CreateDatabase method.CreateDatabaseRequest.Builder Request message for the CreateDatabase method.CreateLockRequest Request message for the CreateLock method.CreateLockRequest.Builder Request message for the CreateLock method.CreateTableRequest Request message for the CreateTable method.CreateTableRequest.Builder Request message for the CreateTable method.Database Database is the container of tables.Database.Builder Database is the container of tables.DatabaseName DatabaseName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/databases/{database}.DeleteCatalogRequest Request message for the DeleteCatalog method.DeleteCatalogRequest.Builder Request message for the DeleteCatalog method.DeleteDatabaseRequest Request message for the DeleteDatabase method.DeleteDatabaseRequest.Builder Request message for the DeleteDatabase method.DeleteLockRequest Request message for the DeleteLock method.DeleteLockRequest.Builder Request message for the DeleteLock method.DeleteTableRequest Request message for the DeleteTable method.DeleteTableRequest.Builder Request message for the DeleteTable method.GetCatalogRequest Request message for the GetCatalog method.GetCatalogRequest.Builder Request message for the GetCatalog method.GetDatabaseRequest Request message for the GetDatabase method.GetDatabaseRequest.Builder Request message for the GetDatabase method.GetTableRequest Request message for the GetTable method.GetTableRequest.Builder Request message for the GetTable method.HiveDatabaseOptions Options of a Hive database.HiveDatabaseOptions.Builder Options of a Hive database.HiveTableOptions Options of a Hive table.HiveTableOptions.Builder Options of a Hive table.HiveTableOptions.SerDeInfo Serializer and deserializer information.HiveTableOptions.SerDeInfo.Builder Serializer and deserializer information.HiveTableOptions.StorageDescriptor Stores physical storage information of the data.HiveTableOptions.StorageDescriptor.Builder Stores physical storage information of the data.ListCatalogsRequest Request message for the ListCatalogs method.ListCatalogsRequest.Builder Request message for the ListCatalogs method.ListCatalogsResponse Response message for the ListCatalogs method.ListCatalogsResponse.Builder Response message for the ListCatalogs method.ListDatabasesRequest Request message for the ListDatabases method.ListDatabasesRequest.Builder Request message for the ListDatabases method.ListDatabasesResponse Response message for the ListDatabases method.ListDatabasesResponse.Builder Response message for the ListDatabases method.ListLocksRequest Request message for the ListLocks method.ListLocksRequest.Builder Request message for the ListLocks method.ListLocksResponse Response message for the ListLocks method.ListLocksResponse.Builder Response message for the ListLocks method.ListTablesRequest Request message for the ListTables method.ListTablesRequest.Builder Request message for the ListTables method.ListTablesResponse Response message for the ListTables method.ListTablesResponse.Builder Response message for the ListTables method.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.Lock Represents a lock.Lock.Builder Represents a lock.LockName LockName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/databases/{database}/locks/{lock}.MetastoreProto MetastoreServiceClient Service Description: BigLake Metastore is a serverless, highly available, multi-tenant runtime metastore for Google Cloud Data Analytics products.MetastoreServiceClient.ListCatalogsFixedSizeCollection MetastoreServiceClient.ListCatalogsPage MetastoreServiceClient.ListCatalogsPagedResponse MetastoreServiceClient.ListDatabasesFixedSizeCollection MetastoreServiceClient.ListDatabasesPage MetastoreServiceClient.ListDatabasesPagedResponse MetastoreServiceClient.ListLocksFixedSizeCollection MetastoreServiceClient.ListLocksPage MetastoreServiceClient.ListLocksPagedResponse MetastoreServiceClient.ListTablesFixedSizeCollection MetastoreServiceClient.ListTablesPage MetastoreServiceClient.ListTablesPagedResponse MetastoreServiceGrpc BigLake Metastore is a serverless, highly available, multi-tenant runtime metastore for Google Cloud Data Analytics products.MetastoreServiceGrpc.MetastoreServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service MetastoreService.MetastoreServiceGrpc.MetastoreServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service MetastoreService.MetastoreServiceGrpc.MetastoreServiceImplBase Base class for the server implementation of the service MetastoreService.MetastoreServiceGrpc.MetastoreServiceStub A stub to allow clients to do asynchronous rpc calls to service MetastoreService.MetastoreServiceSettings Settings class to configure an instance ofMetastoreServiceClient
.MetastoreServiceSettings.Builder Builder for MetastoreServiceSettings.RenameTableRequest Request message for the RenameTable method in MetastoreServiceRenameTableRequest.Builder Request message for the RenameTable method in MetastoreServiceTable Represents a table.Table.Builder Represents a table.TableName TableName.Builder Builder for projects/{project}/locations/{location}/catalogs/{catalog}/databases/{database}/tables/{table}.UpdateDatabaseRequest Request message for the UpdateDatabase method.UpdateDatabaseRequest.Builder Request message for the UpdateDatabase method.UpdateTableRequest Request message for the UpdateTable method.UpdateTableRequest.Builder Request message for the UpdateTable method. -
Enum Summary Enum Description Database.OptionsCase Database.Type The database type.Lock.ResourcesCase Lock.State The lock state.Lock.Type The lock type.Table.OptionsCase Table.Type The table type.TableView View on Table.