Class TraceSearcherProxy
java.lang.Object
org.hansken.plugin.extraction.runtime.grpc.server.proxy.TraceSearcherProxy
- All Implemented Interfaces:
TraceSearcher
Proxy implementation for the server side of the
extraction plugin framework. It
delegates calls through gRPC (see GrpcFacade) to retrieve traces from the client side.-
Field Summary
Fields inherited from interface org.hansken.plugin.extraction.api.TraceSearcher
ALL_SEARCH_RESULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsearch(String query, int count, SearchOptions options) search(String query, int count, SearchScope scope, int start, List<SearchSortOption> sort) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hansken.plugin.extraction.api.TraceSearcher
search, search
-
Constructor Details
-
TraceSearcherProxy
-
-
Method Details
-
search
- Specified by:
searchin interfaceTraceSearcher- Throws:
InterruptedExceptionExecutionException
-
search
public SearchResult search(String query, int count, SearchOptions options) throws InterruptedException, ExecutionException - Specified by:
searchin interfaceTraceSearcher- Throws:
InterruptedExceptionExecutionException
-
search
public SearchResult search(String query, int count, SearchScope scope, int start, List<SearchSortOption> sort) throws InterruptedException, ExecutionException - Specified by:
searchin interfaceTraceSearcher- Throws:
InterruptedExceptionExecutionException
-