public static class TinkerServiceRegistry.LambdaStreamingService<I,R> extends TinkerServiceRegistry.TinkerService<I,R>
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type
serviceFactory
Constructor and Description |
---|
LambdaStreamingService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory,
TriFunction<Service.ServiceCallContext,Traverser.Admin<I>,Map,Iterator<R>> lambda) |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<R> |
execute(Service.ServiceCallContext ctx,
Traverser.Admin<I> in,
Map params)
Execute a Streaming service call with one upstream input.
|
Service.Type |
getType()
Return the
Service.Type of service call. |
addRequirements, getRequirements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, execute, execute, getMaxBarrierSize, isBarrier, isStart, isStreaming
public LambdaStreamingService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory, TriFunction<Service.ServiceCallContext,Traverser.Admin<I>,Map,Iterator<R>> lambda)
public Service.Type getType()
Service
Service.Type
of service call.public CloseableIterator<R> execute(Service.ServiceCallContext ctx, Traverser.Admin<I> in, Map params)
Service
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.