Class SearchTraceProxy
- java.lang.Object
-
- org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
-
- org.hansken.plugin.extraction.runtime.grpc.server.proxy.SearchTraceProxy
-
- All Implemented Interfaces:
ImmutableTrace,SearchTrace
public class SearchTraceProxy extends ImmutableTraceProxy implements SearchTrace
Proxy implementation for the server side of theextraction pluginframework. It delegates calls through gRPC (seeGrpcFacade) to the search trace currently being processed on the client side.Note: this implementation is not thread-safe.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchTraceProxyfromRpc(RpcSearchTrace trace, GrpcFacade facade)RandomAccessDatagetData(String dataType)List<String>getDataTypes()-
Methods inherited from class org.hansken.plugin.extraction.runtime.grpc.server.proxy.ImmutableTraceProxy
get, properties, traceId, types
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hansken.plugin.extraction.api.ImmutableTrace
get, properties, traceId, types
-
-
-
-
Method Detail
-
fromRpc
public static SearchTraceProxy fromRpc(RpcSearchTrace trace, GrpcFacade facade)
-
getData
public RandomAccessData getData(String dataType)
- Specified by:
getDatain interfaceSearchTrace
-
getDataTypes
public List<String> getDataTypes()
- Specified by:
getDataTypesin interfaceSearchTrace
-
-