Class SearchAPIGrpc.SearchAPIStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SearchAPIGrpc.SearchAPIStub>
com.iotics.api.SearchAPIGrpc.SearchAPIStub
Enclosing class:
SearchAPIGrpc

public static final class SearchAPIGrpc.SearchAPIStub extends io.grpc.stub.AbstractAsyncStub<SearchAPIGrpc.SearchAPIStub>
 SearchAPI provides a set of services to run synchronous and asynchronous search.
 Services only affect local resources, unless stated otherwise.
 
  • 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 Type
    Method
    Description
    void
    advancedSearch(AdvancedSearchRequest request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
    Run an advanced (filter) search request on a user timeout and return formatted results.
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    dispatchSearchRequest(SearchRequest request, io.grpc.stub.StreamObserver<DispatchSearchResponse> responseObserver)
    Send a search request.
    void
    receiveAllSearchResponses(SubscriptionHeaders request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
    Receive all search responses associated to a set of Search request for a given client application ID.
    void
    synchronousSearch(SearchRequest request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
    Run a synchronous search based on a user timeout.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected SearchAPIGrpc.SearchAPIStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<SearchAPIGrpc.SearchAPIStub>
    • dispatchSearchRequest

      public void dispatchSearchRequest(SearchRequest request, io.grpc.stub.StreamObserver<DispatchSearchResponse> responseObserver)
       Send a search request. Results are expected asynchronously. (local and remote)
       
    • synchronousSearch

      public void synchronousSearch(SearchRequest request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
       Run a synchronous search based on a user timeout. (local and remote)
       
    • receiveAllSearchResponses

      public void receiveAllSearchResponses(SubscriptionHeaders request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
       Receive all search responses associated to a set of Search request for a given client application ID.
       
    • advancedSearch

      public void advancedSearch(AdvancedSearchRequest request, io.grpc.stub.StreamObserver<SearchResponse> responseObserver)
       Run an advanced (filter) search request on a user timeout and return formatted results.