| 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 |
DatabaseId.getInstanceId()
Returns the instance id for this databse.
|
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 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 © 2019 Google LLC. All rights reserved.