Package org.apache.tika
Class TikaGrpc.TikaFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TikaGrpc.TikaFutureStub>
-
- org.apache.tika.TikaGrpc.TikaFutureStub
-
- Enclosing class:
- TikaGrpc
public static final class TikaGrpc.TikaFutureStub extends io.grpc.stub.AbstractFutureStub<TikaGrpc.TikaFutureStub>
A stub to allow clients to do ListenableFuture-style 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.TikaFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<DeleteFetcherReply>
deleteFetcher(DeleteFetcherRequest request)
Delete a fetcher from the fetcher store.com.google.common.util.concurrent.ListenableFuture<FetchAndParseReply>
fetchAndParse(FetchAndParseRequest request)
Using a Fetcher in the fetcher store, send a FetchAndParse request.com.google.common.util.concurrent.ListenableFuture<GetFetcherReply>
getFetcher(GetFetcherRequest request)
Get a fetcher's data from the fetcher store.com.google.common.util.concurrent.ListenableFuture<GetFetcherConfigJsonSchemaReply>
getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request)
Get the Fetcher Config schema for a given fetcher class.com.google.common.util.concurrent.ListenableFuture<ListFetchersReply>
listFetchers(ListFetchersRequest request)
List fetchers that are currently in the fetcher store.com.google.common.util.concurrent.ListenableFuture<SaveFetcherReply>
saveFetcher(SaveFetcherRequest request)
Save a fetcher to the fetcher store.
-
-
-
Method Detail
-
build
protected TikaGrpc.TikaFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TikaGrpc.TikaFutureStub>
-
saveFetcher
public com.google.common.util.concurrent.ListenableFuture<SaveFetcherReply> saveFetcher(SaveFetcherRequest request)
Save a fetcher to the fetcher store.
-
getFetcher
public com.google.common.util.concurrent.ListenableFuture<GetFetcherReply> getFetcher(GetFetcherRequest request)
Get a fetcher's data from the fetcher store.
-
listFetchers
public com.google.common.util.concurrent.ListenableFuture<ListFetchersReply> listFetchers(ListFetchersRequest request)
List fetchers that are currently in the fetcher store.
-
deleteFetcher
public com.google.common.util.concurrent.ListenableFuture<DeleteFetcherReply> deleteFetcher(DeleteFetcherRequest request)
Delete a fetcher from the fetcher store.
-
fetchAndParse
public com.google.common.util.concurrent.ListenableFuture<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.
-
getFetcherConfigJsonSchema
public com.google.common.util.concurrent.ListenableFuture<GetFetcherConfigJsonSchemaReply> getFetcherConfigJsonSchema(GetFetcherConfigJsonSchemaRequest request)
Get the Fetcher Config schema for a given fetcher class.
-
-