@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcSpannerStub extends SpannerStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSpannerStub(SpannerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSpannerStub, using the given settings.
|
protected |
GrpcSpannerStub(SpannerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSpannerStub, using the given settings.
|
protected GrpcSpannerStub(SpannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSpannerStub(SpannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSpannerStub create(SpannerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSpannerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSpannerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
createSessionCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsCallable()
batchCreateSessionsCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> getSessionCallable()
getSessionCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SpannerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
listSessionsPagedCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
listSessionsCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,Empty> deleteSessionCallable()
deleteSessionCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<ExecuteSqlRequest,ResultSet> executeSqlCallable()
executeSqlCallable in class SpannerStubpublic com.google.api.gax.rpc.ServerStreamingCallable<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlCallable()
executeStreamingSqlCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlCallable()
executeBatchDmlCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<ReadRequest,ResultSet> readCallable()
readCallable in class SpannerStubpublic com.google.api.gax.rpc.ServerStreamingCallable<ReadRequest,PartialResultSet> streamingReadCallable()
streamingReadCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,Transaction> beginTransactionCallable()
beginTransactionCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> commitCallable()
commitCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<RollbackRequest,Empty> rollbackCallable()
rollbackCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,PartitionResponse> partitionQueryCallable()
partitionQueryCallable in class SpannerStubpublic com.google.api.gax.rpc.UnaryCallable<PartitionReadRequest,PartitionResponse> partitionReadCallable()
partitionReadCallable in class SpannerStubpublic final void close()
close in interface AutoCloseableclose in class SpannerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.