public static class TinkerServiceRegistry.LambdaStreamingService<I,R> extends TinkerServiceRegistry.TinkerService<I,R>
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.TypeserviceFactory| 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, getRequirementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, execute, execute, getMaxBarrierSize, isBarrier, isStart, isStreamingpublic LambdaStreamingService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory, TriFunction<Service.ServiceCallContext,Traverser.Admin<I>,Map,Iterator<R>> lambda)
public Service.Type getType()
ServiceService.Type of service call.public CloseableIterator<R> execute(Service.ServiceCallContext ctx, Traverser.Admin<I> in, Map params)
ServiceCopyright © 2013–2022 Apache Software Foundation. All rights reserved.