Class TinkerServiceRegistry.LambdaServiceFactory<I,R>
java.lang.Object
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory<I,R>
org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.LambdaServiceFactory<I,R>
- All Implemented Interfaces:
AutoCloseable,Service.ServiceFactory<I,R>
- Enclosing class:
- TinkerServiceRegistry
public static class TinkerServiceRegistry.LambdaServiceFactory<I,R>
extends TinkerServiceRegistry.TinkerServiceFactory<I,R>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory
describeParams, graph, name, requirements -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBarrierLambda(TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda, int maxChunkSize) addDescribeParams(Map describeParams) addStreamingLambda(TriFunction<Service.ServiceCallContext, Traverser.Admin<I>, Map, Iterator<R>> lambda) createService(boolean isStart, Map params) Create a Service call instance.Get the execution modes that it supports.Methods inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory
addRequirements, describeParams, getName, 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.ServiceFactory
close, getRequirementsByType
-
Constructor Details
-
LambdaServiceFactory
-
-
Method Details
-
getSupportedTypes
Description copied from interface:Service.ServiceFactoryGet the execution modes that it supports. -
addDescribeParams
- Overrides:
addDescribeParamsin classTinkerServiceRegistry.TinkerServiceFactory<I,R>
-
addStartLambda
public TinkerServiceRegistry.LambdaStartService addStartLambda(BiFunction<Service.ServiceCallContext, Map, Iterator<R>> lambda) -
addStreamingLambda
public TinkerServiceRegistry.LambdaStreamingService addStreamingLambda(TriFunction<Service.ServiceCallContext, Traverser.Admin<I>, Map, Iterator<R>> lambda) -
addBarrierLambda
public TinkerServiceRegistry.LambdaBarrierService addBarrierLambda(TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda) -
addBarrierLambda
public TinkerServiceRegistry.LambdaBarrierService addBarrierLambda(TriFunction<Service.ServiceCallContext, TraverserSet<I>, Map, Iterator<R>> lambda, int maxChunkSize) -
createService
Description copied from interface:Service.ServiceFactoryCreate a Service call instance.- Parameters:
isStart- true if the call is being used to start a traversalparams- the static params provided to service call (if any)- Returns:
- the service call instance
-