Package | Description |
---|---|
com.google.cloud.spanner.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.spanner.v1 |
Modifier and Type | Method and Description |
---|---|
BatchCreateSessionsResponse |
SpannerClient.batchCreateSessions(DatabaseName database,
int sessionCount)
Creates multiple new sessions.
|
Session |
SpannerClient.createSession(DatabaseName database)
Creates a new session.
|
SpannerClient.ListSessionsPagedResponse |
SpannerClient.listSessions(DatabaseName database)
Lists all sessions in a given database.
|
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.