Package org.vitrivr.cottontail.grpc
Class DQLGrpc.DQLStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DQLGrpc.DQLStub>
org.vitrivr.cottontail.grpc.DQLGrpc.DQLStub
- Enclosing class:
- DQLGrpc
A stub to allow clients to do asynchronous rpc calls to service DQL.
Endpoint for data management (SELECT).
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDQLStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected DQLGrpc.DQLStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidexplain(CottontailGrpc.QueryMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Evaluates and returns the execution plan for a query.voidping(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Pings the endpointvoidquery(CottontailGrpc.QueryMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Executes a query through Cottontail DB.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, withOption, withWaitForReady
-
Constructor Details
-
DQLStub
private DQLStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<DQLGrpc.DQLStub>
-
explain
public void explain(CottontailGrpc.QueryMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Evaluates and returns the execution plan for a query.
-
query
public void query(CottontailGrpc.QueryMessage request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver) Executes a query through Cottontail DB.
-
ping
public void ping(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Pings the endpoint
-