Google Cloud Spanner v1 API - Class Spanner (5.0.0-beta02)

public static class Spanner

Reference documentation and code samples for the Google Cloud Spanner v1 API class Spanner.

Cloud Spanner API

The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.

Inheritance

object > Spanner

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Methods

BindService(SpannerBase)

public static ServerServiceDefinition BindService(Spanner.SpannerBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplSpannerSpannerBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, SpannerBase)

public static void BindService(ServiceBinderBase serviceBinder, Spanner.SpannerBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplSpannerSpannerBase

An object implementing the server-side handling logic.