Package org.apache.tika
Class TikaGrpc.TikaBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<TikaGrpc.TikaBlockingStub>
-
- org.apache.tika.TikaGrpc.TikaBlockingStub
-
- Enclosing class:
- TikaGrpc
public static final class TikaGrpc.TikaBlockingStub extends io.grpc.stub.AbstractBlockingStub<TikaGrpc.TikaBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Tika.The Tika Grpc Service definition
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TikaGrpc.TikaBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
DeleteFetcherReply
deleteFetcher(DeleteFetcherRequest request)
Delete a fetcher from the fetcher store.FetchAndParseReply
fetchAndParse(FetchAndParseRequest request)
Using a Fetcher in the fetcher store, send a FetchAndParse request.Iterator<FetchAndParseReply>
fetchAndParseServerSideStreaming(FetchAndParseRequest request)
Using a Fetcher in the fetcher store, send a FetchAndParse request.GetFetcherReply
getFetcher(GetFetcherRequest request)
Get a fetcher's data from the fetcher store.GetFetcherConfigJsonSchemaReply
getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request)
Get the Fetcher Config schema for a given fetcher class.ListFetchersReply
listFetchers(ListFetchersRequest request)
List fetchers that are currently in the fetcher store.SaveFetcherReply
saveFetcher(SaveFetcherRequest request)
Save a fetcher to the fetcher store.
-
-
-
Method Detail
-
build
protected TikaGrpc.TikaBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TikaGrpc.TikaBlockingStub>
-
saveFetcher
public SaveFetcherReply saveFetcher(SaveFetcherRequest request)
Save a fetcher to the fetcher store.
-
getFetcher
public GetFetcherReply getFetcher(GetFetcherRequest request)
Get a fetcher's data from the fetcher store.
-
listFetchers
public ListFetchersReply listFetchers(ListFetchersRequest request)
List fetchers that are currently in the fetcher store.
-
deleteFetcher
public DeleteFetcherReply deleteFetcher(DeleteFetcherRequest request)
Delete a fetcher from the fetcher store.
-
fetchAndParse
public FetchAndParseReply fetchAndParse(FetchAndParseRequest request)
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 Iterator<FetchAndParseReply> fetchAndParseServerSideStreaming(FetchAndParseRequest request)
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.
-
getFetcherConfigJsonSchema
public GetFetcherConfigJsonSchemaReply getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request)
Get the Fetcher Config schema for a given fetcher class.
-
-