Package org.apache.beam.sdk.fn.stream
package org.apache.beam.sdk.fn.stream
gRPC stream management.
-
ClassDescriptionA
Phaserwhich never terminates.A thread safeStreamObserverwhich uses a bounded queue to pass elements to a processing thread responsible for interacting with the underlyingCallStreamObserver.DataStreams.DataStreamDecodertreats multipleByteStrings as a single input stream decoding values with the supplied iterator.An adapter which converts anInputStreamto aPrefetchableIteratorofTvalues using the specifiedCoder.An adapter which wraps anDataStreams.OutputChunkConsumeras anOutputStream.A callback which is invoked whenever theDataStreams.outbound(org.apache.beam.sdk.fn.stream.DataStreams.OutputChunkConsumer<org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString>)OutputStreambecomes full.AStreamObserverwhich uses synchronization on the underlyingCallStreamObserverto provide thread safety.ForwardingClientResponseObserver<ReqT,RespT> AClientResponseObserverwhich delegates allStreamObservercalls.Creates factories which determine an underlyingStreamObserverimplementation to use in to interact with fn execution APIs.OutboundObserverFactory.BasicFactory<ReqT,RespT> Creates an outbound observer for the given inbound observer.AnIterablethat returnsPrefetchableIterators.This class contains static utility functions that operate on or return objects of typePrefetchableIterable.A default implementation that caches an iterator to be returned whenPrefetchableIterables.Default.prefetch()is invoked.Iteratorthat supports prefetching the next set of records.AStreamObserverwhich provides synchronous access access to an underlyingStreamObserver.