Class TinkerServiceRegistry.LambdaStreamingService<I,R>
java.lang.Object
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerService<I,R>
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.LambdaStreamingService<I,R>
- All Implemented Interfaces:
AutoCloseable,Service<I,R>
- Enclosing class:
- TinkerServiceRegistry
public static class TinkerServiceRegistry.LambdaStreamingService<I,R>
extends TinkerServiceRegistry.TinkerService<I,R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerService
serviceFactory -
Constructor Summary
ConstructorsConstructorDescriptionLambdaStreamingService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, Traverser.Admin<I>, Map, Iterator<R>> lambda) -
Method Summary
Modifier and TypeMethodDescriptionexecute(Service.ServiceCallContext ctx, Traverser.Admin<I> in, Map params) Execute a Streaming service call with one upstream input.getType()Return theService.Typeof service call.Methods inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerService
addRequirements, getRequirementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
close, execute, execute, getMaxBarrierSize, isBarrier, isStart, isStreaming
-
Constructor Details
-
LambdaStreamingService
public LambdaStreamingService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, Traverser.Admin<I>, Map, Iterator<R>> lambda)
-
-
Method Details
-
getType
Description copied from interface:ServiceReturn theService.Typeof service call. -
execute
public CloseableIterator<R> execute(Service.ServiceCallContext ctx, Traverser.Admin<I> in, Map params) Description copied from interface:ServiceExecute a Streaming service call with one upstream input.
-