Package org.apache.beam.fn.harness.state
State client and state caching.
-
Interface Summary Interface Description BeamFnStateClient TheBeamFnStateClientis able to forward state requests to a handler which returns a corresponding response or error if completed unsuccessfully.FnApiStateAccessor.MutatingStateContext<K,W> StateBackedIterable.StateBackedIterableTranslationContext Additional parameters required by theStateBackedIterable.Coder. -
Class Summary Class Description BagUserState<T> An implementation of a bag user state that utilizes the Beam Fn State API to fetch, clear and persist values.BeamFnStateGrpcClientCache A cache ofBeamFnStateClients which handle Beam Fn State requests using gRPC.FnApiStateAccessor<K> Provides access to side inputs and state via aBeamFnStateClient.FnApiStateAccessor.Factory<K> A factory that takes all the immutable parameters to create aFnApiStateAccessor.FnApiTimerBundleTracker<K> FnApiTimerBundleTracker.Modifications<K> FnApiTimerBundleTracker.TimerInfo<K> IterableSideInput<T> An implementation of a iterable side input that utilizes the Beam Fn State API to fetch values.MultimapSideInput<K,V> An implementation of a multimap side input that utilizes the Beam Fn State API to fetch values.MultimapUserState<K,V> An implementation of a multimap user state that utilizes the Beam Fn State API to fetch, clear and persist values.OrderedListUserState<T> An implementation of an ordered list user state that utilizes the Beam Fn State API to fetch, clear and persist values.OrderedListUserState.TimestampedValueCoder<T> SideInputSpec<W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> A specification for side inputs containing the access pattern, a valueCoder, the windowCoder, theViewFn, and theWindowMappingFn.StateBackedIterable<T> Astatebacked iterable which allows for fetching elements over the portability state API.StateBackedIterable.Coder<T> Decodes anIterablethat might be backed by state.StateBackedIterable.Registrar ACoderTranslatorRegistrarforbeam:coder:state_backed_iterable:v1.StateFetchingIterators Adapters which convert a logical series of chunks using continuation tokens over the Beam Fn State API into anIteratorofByteStrings.