Class SearchAPIGrpc.SearchAPIImplBase

java.lang.Object
com.iotics.api.SearchAPIGrpc.SearchAPIImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
SearchAPIGrpc

public abstract static class SearchAPIGrpc.SearchAPIImplBase extends Object implements io.grpc.BindableService
 SearchAPI provides a set of services to run synchronous and asynchronous search.
 Services only affect local resources, unless stated otherwise.
 
  • Constructor Details

    • SearchAPIImplBase

      public SearchAPIImplBase()
  • Method Details

    • 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.
       
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService