Package | Description |
---|---|
com.google.cloud.spanner.admin.database.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.spanner.admin.database.v1 |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseAdminClient.dropDatabase(DatabaseName database)
Drops (aka deletes) a Cloud Spanner database.
|
Database |
DatabaseAdminClient.getDatabase(DatabaseName name)
Gets the state of a Cloud Spanner database.
|
GetDatabaseDdlResponse |
DatabaseAdminClient.getDatabaseDdl(DatabaseName database)
Returns the schema of a Cloud Spanner database as a list of formatted DDL statements.
|
OperationFuture<Empty,UpdateDatabaseDdlMetadata> |
DatabaseAdminClient.updateDatabaseDdlAsync(DatabaseName database,
List<String> statements)
Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns,
indexes, etc.
|
Modifier and Type | Method and Description |
---|---|
DatabaseName |
DatabaseName.Builder.build() |
static DatabaseName |
DatabaseName.of(String project,
String instance,
String database) |
static DatabaseName |
DatabaseName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<DatabaseName> |
DatabaseName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
DatabaseName.toStringList(List<DatabaseName> values) |
Copyright © 2022 Google LLC. All rights reserved.