Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.testing |
Modifier and Type | Method and Description |
---|---|
InstanceId |
InstanceInfo.getId()
Returns the identifier of the instance.
|
InstanceId |
BackupId.getInstanceId()
Returns the instance id for this backup.
|
InstanceId |
DatabaseId.getInstanceId()
Returns the instance id for this database.
|
InstanceId |
BackupInfo.getInstanceId()
Returns the id of the instance that the backup belongs to.
|
static InstanceId |
InstanceId.of(String project,
String instance)
Creates an
InstanceId given project and instance IDs. |
Modifier and Type | Method and Description |
---|---|
static InstanceInfo.Builder |
InstanceInfo.newBuilder(InstanceId id) |
Instance.Builder |
InstanceAdminClient.newInstanceBuilder(InstanceId id)
Returns a builder for
Instance object with the given id. |
static BackupId |
BackupId.of(InstanceId instanceId,
String backup)
Creates a
BackupId given the instance identity and backup id. |
static DatabaseId |
DatabaseId.of(InstanceId instanceId,
String database)
Creates a
DatabaseId given the instance identity and database id. |
Modifier and Type | Method and Description |
---|---|
InstanceId |
RemoteSpannerHelper.getInstanceId() |
Modifier and Type | Method and Description |
---|---|
static RemoteSpannerHelper |
RemoteSpannerHelper.create(InstanceId instanceId)
Creates a
RemoteSpannerHelper bound to the given instance ID. |
static RemoteSpannerHelper |
RemoteSpannerHelper.create(SpannerOptions options,
InstanceId instanceId)
Creates a
RemoteSpannerHelper for the given option and bound to the given instance ID. |
Constructor and Description |
---|
RemoteSpannerHelper(SpannerOptions options,
InstanceId instanceId,
Spanner client) |
Copyright © 2022 Google LLC. All rights reserved.