Class TinkerServiceRegistry.LambdaBarrierService<I,R>
java.lang.Object
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerService<I,R>
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.LambdaBarrierService<I,R>
- All Implemented Interfaces:
AutoCloseable,Service<I,R>
- Enclosing class:
- TinkerServiceRegistry
public static class TinkerServiceRegistry.LambdaBarrierService<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
ConstructorsConstructorDescriptionLambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda) LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda, int maxChunkSize) -
Method Summary
Modifier and TypeMethodDescriptionclone(int maxChunkSize) execute(Service.ServiceCallContext ctx, TraverserSet<I> in, Map params) Execute a Barrier service call with all upstream input.intReturn the max barrier size.getType()Return theService.Typeof service call.Methods inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerService
addRequirements, getRequirements
-
Constructor Details
-
LambdaBarrierService
public LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda) -
LambdaBarrierService
public LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I, R> factory, TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda, int maxChunkSize)
-
-
Method Details
-
clone
-
getType
Description copied from interface:ServiceReturn theService.Typeof service call. -
getMaxBarrierSize
public int getMaxBarrierSize()Description copied from interface:ServiceReturn the max barrier size. Default is all upstream solutions. -
execute
Description copied from interface:ServiceExecute a Barrier service call with all upstream input.
-