Class TikaGrpc.TikaStub

  • Enclosing class:
    TikaGrpc

    public static final class TikaGrpc.TikaStub
    extends io.grpc.stub.AbstractAsyncStub<TikaGrpc.TikaStub>
    A stub to allow clients to do asynchronous rpc calls to service Tika.
     The Tika Grpc Service definition
     
    • Method Detail

      • build

        protected TikaGrpc.TikaStub build​(io.grpc.Channel channel,
                                          io.grpc.CallOptions callOptions)
        Specified by:
        build in class io.grpc.stub.AbstractStub<TikaGrpc.TikaStub>
      • saveFetcher

        public void saveFetcher​(SaveFetcherRequest request,
                                io.grpc.stub.StreamObserver<SaveFetcherReply> responseObserver)
         
        Save a fetcher to the fetcher store.   
         
      • getFetcher

        public void getFetcher​(GetFetcherRequest request,
                               io.grpc.stub.StreamObserver<GetFetcherReply> responseObserver)
         
        Get a fetcher's data from the fetcher store.   
         
      • listFetchers

        public void listFetchers​(ListFetchersRequest request,
                                 io.grpc.stub.StreamObserver<ListFetchersReply> responseObserver)
         
        List fetchers that are currently in the fetcher store.   
         
      • fetchAndParse

        public void fetchAndParse​(FetchAndParseRequest request,
                                  io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
         
        Using a Fetcher in the fetcher store, send a FetchAndParse request. This will fetch, parse, and return
        the FetchParseTuple data output from Tika Pipes. This is a synchronous call that immediately returns 1 result.
         
      • fetchAndParseServerSideStreaming

        public void fetchAndParseServerSideStreaming​(FetchAndParseRequest request,
                                                     io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
        Using a Fetcher in the fetcher store, send a FetchAndParse request. This will fetch, parse, and return
        the FetchParseTuple data output from Tika Pipes. This will stream the data from the server in response.
         
      • fetchAndParseBiDirectionalStreaming

        public io.grpc.stub.StreamObserver<FetchAndParseRequest> fetchAndParseBiDirectionalStreaming​(io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
        Using a Fetcher in the fetcher store, send a FetchAndParse request. This will fetch, parse, and return
        the FetchParseTuple data output from Tika Pipes. This serves a bi-directional stream of fetch inputs and
        parsed outputs.