Class SpannerGrpc (6.25.1)

Stay organized with collections Save and categorize content based on your preferences.
public final class SpannerGrpc

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

Inheritance

java.lang.Object > SpannerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getBatchCreateSessionsMethod()

public static MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse> getBatchCreateSessionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse>

getBeginTransactionMethod()

public static MethodDescriptor<BeginTransactionRequest,Transaction> getBeginTransactionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BeginTransactionRequest,Transaction>

getCommitMethod()

public static MethodDescriptor<CommitRequest,CommitResponse> getCommitMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CommitRequest,CommitResponse>

getCreateSessionMethod()

public static MethodDescriptor<CreateSessionRequest,Session> getCreateSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSessionRequest,Session>

getDeleteSessionMethod()

public static MethodDescriptor<DeleteSessionRequest,Empty> getDeleteSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteSessionRequest,Empty>

getExecuteBatchDmlMethod()

public static MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> getExecuteBatchDmlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse>

getExecuteSqlMethod()

public static MethodDescriptor<ExecuteSqlRequest,ResultSet> getExecuteSqlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ExecuteSqlRequest,ResultSet>

getExecuteStreamingSqlMethod()

public static MethodDescriptor<ExecuteSqlRequest,PartialResultSet> getExecuteStreamingSqlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ExecuteSqlRequest,PartialResultSet>

getGetSessionMethod()

public static MethodDescriptor<GetSessionRequest,Session> getGetSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSessionRequest,Session>

getListSessionsMethod()

public static MethodDescriptor<ListSessionsRequest,ListSessionsResponse> getListSessionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse>

getPartitionQueryMethod()

public static MethodDescriptor<PartitionQueryRequest,PartitionResponse> getPartitionQueryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PartitionQueryRequest,PartitionResponse>

getPartitionReadMethod()

public static MethodDescriptor<PartitionReadRequest,PartitionResponse> getPartitionReadMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PartitionReadRequest,PartitionResponse>

getReadMethod()

public static MethodDescriptor<ReadRequest,ResultSet> getReadMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReadRequest,ResultSet>

getRollbackMethod()

public static MethodDescriptor<RollbackRequest,Empty> getRollbackMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RollbackRequest,Empty>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStreamingReadMethod()

public static MethodDescriptor<ReadRequest,PartialResultSet> getStreamingReadMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReadRequest,PartialResultSet>

newBlockingStub(Channel channel)

public static SpannerGrpc.SpannerBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpannerGrpc.SpannerBlockingStub

newFutureStub(Channel channel)

public static SpannerGrpc.SpannerFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpannerGrpc.SpannerFutureStub

newStub(Channel channel)

public static SpannerGrpc.SpannerStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpannerGrpc.SpannerStub