Package gql
Class GqlServiceGrpc.GqlServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<GqlServiceGrpc.GqlServiceBlockingStub>
gql.GqlServiceGrpc.GqlServiceBlockingStub
- Enclosing class:
- GqlServiceGrpc
public static final class GqlServiceGrpc.GqlServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<GqlServiceGrpc.GqlServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service GqlService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionBegin an explicit transaction.protected GqlServiceGrpc.GqlServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) commit(GqlServiceOuterClass.CommitRequest request) Commit the active transaction.Execute any GQL statement.Roll back the active transaction.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GqlServiceGrpc.GqlServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GqlServiceGrpc.GqlServiceBlockingStub>
-
execute
public Iterator<GqlServiceOuterClass.ExecuteResponse> execute(GqlServiceOuterClass.ExecuteRequest request) Execute any GQL statement. Returns a stream of response frames: 1. ResultHeader (column metadata or result type indicator) 2. RowBatch* (zero or more batches of rows) 3. ResultSummary (completion status, row count, diagnostics)
-
beginTransaction
public GqlServiceOuterClass.BeginResponse beginTransaction(GqlServiceOuterClass.BeginRequest request) Begin an explicit transaction.
-
commit
Commit the active transaction.
-
rollback
Roll back the active transaction.
-