Package org.apache.tika
Interface TikaGrpc.AsyncService
-
- All Known Implementing Classes:
TikaGrpc.TikaImplBase
- Enclosing class:
- TikaGrpc
public static interface TikaGrpc.AsyncService
The Tika Grpc Service definition
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
deleteFetcher(DeleteFetcherRequest request, io.grpc.stub.StreamObserver<DeleteFetcherReply> responseObserver)
Delete a fetcher from the fetcher store.default void
fetchAndParse(FetchAndParseRequest request, io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
Using a Fetcher in the fetcher store, send a FetchAndParse request.default io.grpc.stub.StreamObserver<FetchAndParseRequest>
fetchAndParseBiDirectionalStreaming(io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
Using a Fetcher in the fetcher store, send a FetchAndParse request.default void
fetchAndParseServerSideStreaming(FetchAndParseRequest request, io.grpc.stub.StreamObserver<FetchAndParseReply> responseObserver)
Using a Fetcher in the fetcher store, send a FetchAndParse request.default void
getFetcher(GetFetcherRequest request, io.grpc.stub.StreamObserver<GetFetcherReply> responseObserver)
Get a fetcher's data from the fetcher store.default void
getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request, io.grpc.stub.StreamObserver<GetFetcherConfigJsonSchemaReply> responseObserver)
Get the Fetcher Config schema for a given fetcher class.default void
listFetchers(ListFetchersRequest request, io.grpc.stub.StreamObserver<ListFetchersReply> responseObserver)
List fetchers that are currently in the fetcher store.default void
saveFetcher(SaveFetcherRequest request, io.grpc.stub.StreamObserver<SaveFetcherReply> responseObserver)
Save a fetcher to the fetcher store.
-
-
-
Method Detail
-
saveFetcher
default void saveFetcher(SaveFetcherRequest request, io.grpc.stub.StreamObserver<SaveFetcherReply> responseObserver)
Save a fetcher to the fetcher store.
-
getFetcher
default void getFetcher(GetFetcherRequest request, io.grpc.stub.StreamObserver<GetFetcherReply> responseObserver)
Get a fetcher's data from the fetcher store.
-
listFetchers
default void listFetchers(ListFetchersRequest request, io.grpc.stub.StreamObserver<ListFetchersReply> responseObserver)
List fetchers that are currently in the fetcher store.
-
deleteFetcher
default void deleteFetcher(DeleteFetcherRequest request, io.grpc.stub.StreamObserver<DeleteFetcherReply> responseObserver)
Delete a fetcher from the fetcher store.
-
fetchAndParse
default 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
default 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
default 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.
-
getFetcherConfigJsonSchema
default void getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request, io.grpc.stub.StreamObserver<GetFetcherConfigJsonSchemaReply> responseObserver)
Get the Fetcher Config schema for a given fetcher class.
-
-