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 limited synchronous rpc calls to service Tika.
The Tika Grpc Service definition
-
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 TypeMethodDescriptionprotected TikaGrpc.TikaBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) deleteFetcher(DeleteFetcherRequest request) Delete a fetcher from the fetcher store.Delete a pipes iterator from the iterator store.fetchAndParse(FetchAndParseRequest request) Using a Fetcher in the fetcher store, send a FetchAndParse request.Using a Fetcher in the fetcher store, send a FetchAndParse request.getFetcher(GetFetcherRequest request) Get a fetcher's data from the fetcher store.Get the Fetcher Config schema for a given fetcher class.getPipesIterator(GetPipesIteratorRequest request) Get a pipes iterator's data from the iterator store.listFetchers(ListFetchersRequest request) List fetchers that are currently in the fetcher store.saveFetcher(SaveFetcherRequest request) Save a fetcher to the fetcher store.Save a pipes iterator to the iterator store.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<TikaGrpc.TikaBlockingStub>
-
saveFetcher
Save a fetcher to the fetcher store.
-
getFetcher
Get a fetcher's data from the fetcher store.
-
listFetchers
List fetchers that are currently in the fetcher store.
-
deleteFetcher
Delete a fetcher from the fetcher store.
-
fetchAndParse
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
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.
-
savePipesIterator
Save a pipes iterator to the iterator store.
-
getPipesIterator
Get a pipes iterator's data from the iterator store.
-
deletePipesIterator
Delete a pipes iterator from the iterator store.
-