Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
DatabaseId |
DatabaseInfo.getId()
Returns the database id.
|
static DatabaseId |
DatabaseId.of(InstanceId instanceId,
String database)
Creates a
DatabaseId given the instance identity and database id. |
static DatabaseId |
DatabaseId.of(String project,
String instance,
String database)
Creates a
DatabaseId given project, instance and database IDs. |
Modifier and Type | Method and Description |
---|---|
BatchClient |
Spanner.getBatchClient(DatabaseId db)
Returns a
BatchClient to do batch operations on Cloud Spanner databases. |
DatabaseClient |
Spanner.getDatabaseClient(DatabaseId db)
Returns a
DatabaseClient for the given database. |
Constructor and Description |
---|
Database(DatabaseId id,
DatabaseInfo.State state,
DatabaseAdminClient dbClient) |
DatabaseInfo(DatabaseId id,
DatabaseInfo.State state) |
Copyright © 2019 Google LLC. All rights reserved.