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 Classes Modifier and Type Class Description static interface
TinkerServiceRegistry.LambdaServiceFactory.Options
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory
describeParams, graph, name, requirements
-
-
Constructor Summary
Constructors Constructor Description LambdaServiceFactory(AbstractTinkerGraph graph, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TinkerServiceRegistry.LambdaBarrierService
addBarrierLambda(TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda)
TinkerServiceRegistry.LambdaBarrierService
addBarrierLambda(TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda, int maxChunkSize)
TinkerServiceRegistry.LambdaServiceFactory
addDescribeParams(Map describeParams)
TinkerServiceRegistry.LambdaStartService
addStartLambda(BiFunction<Service.ServiceCallContext,Map,Iterator<R>> lambda)
TinkerServiceRegistry.LambdaStreamingService
addStreamingLambda(TriFunction<Service.ServiceCallContext,Traverser.Admin<I>,Map,Iterator<R>> lambda)
Service<I,R>
createService(boolean isStart, Map params)
Create a Service call instance.Set<Service.Type>
getSupportedTypes()
Get the execution modes that it supports.-
Methods inherited from class org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory
addRequirements, describeParams, getName, getRequirements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory
close, getRequirementsByType
-
-
-
-
Constructor Detail
-
LambdaServiceFactory
public LambdaServiceFactory(AbstractTinkerGraph graph, String name)
-
-
Method Detail
-
getSupportedTypes
public Set<Service.Type> getSupportedTypes()
Description copied from interface:Service.ServiceFactory
Get the execution modes that it supports.
-
addDescribeParams
public TinkerServiceRegistry.LambdaServiceFactory addDescribeParams(Map describeParams)
- Overrides:
addDescribeParams
in 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
public Service<I,R> createService(boolean isStart, Map params)
Description copied from interface:Service.ServiceFactory
Create 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
-
-