Package gql
Class GqlServiceGrpc.GqlServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<GqlServiceGrpc.GqlServiceStub>
gql.GqlServiceGrpc.GqlServiceStub
- Enclosing class:
- GqlServiceGrpc
public static final class GqlServiceGrpc.GqlServiceStub
extends io.grpc.stub.AbstractAsyncStub<GqlServiceGrpc.GqlServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionvoidbeginTransaction(GqlServiceOuterClass.BeginRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.BeginResponse> responseObserver) Begin an explicit transaction.protected GqlServiceGrpc.GqlServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcommit(GqlServiceOuterClass.CommitRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.CommitResponse> responseObserver) Commit the active transaction.voidexecute(GqlServiceOuterClass.ExecuteRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.ExecuteResponse> responseObserver) Execute any GQL statement.voidrollback(GqlServiceOuterClass.RollbackRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.RollbackResponse> responseObserver) Roll back the active transaction.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.GqlServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GqlServiceGrpc.GqlServiceStub>
-
execute
public void execute(GqlServiceOuterClass.ExecuteRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.ExecuteResponse> responseObserver) 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 void beginTransaction(GqlServiceOuterClass.BeginRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.BeginResponse> responseObserver) Begin an explicit transaction.
-
commit
public void commit(GqlServiceOuterClass.CommitRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.CommitResponse> responseObserver) Commit the active transaction.
-
rollback
public void rollback(GqlServiceOuterClass.RollbackRequest request, io.grpc.stub.StreamObserver<GqlServiceOuterClass.RollbackResponse> responseObserver) Roll back the active transaction.
-