@Generated("by gapic-generator-java")
Package com.google.cloud.spanner.v1
The interfaces provided are listed below, along with usage samples.
======================= SpannerClient =======================
Service Description: Cloud Spanner API
The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.
Sample for SpannerClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (SpannerClient spannerClient = SpannerClient.create()) {
DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
Session response = spannerClient.createSession(database);
}
-
Class Summary Class Description SpannerClient Service Description: Cloud Spanner APISpannerClient.ListSessionsFixedSizeCollection SpannerClient.ListSessionsPage SpannerClient.ListSessionsPagedResponse SpannerSettings Settings class to configure an instance ofSpannerClient
.SpannerSettings.Builder Builder for SpannerSettings.