Package org.apache.beam.runners.spark.translation.streaming
package org.apache.beam.runners.spark.translation.streaming
Internal utilities to translate Beam pipelines to Spark streaming.
-
ClassesClassDescriptionCheckpoint data to make it available in future pipeline runs.Checkpoint dir tree.CreateStreamingSparkView<ElemT,
ViewT> Spark streaming overrides for various view (side input) transforms.CreateStreamingSparkView.CreateSparkPCollectionView<ElemT,ViewT> Creates a primitivePCollectionView
.CreateStreamingSparkView.Factory<ElemT,ViewT> ParDoStateUpdateFn<KeyT,ValueT, InputT extends KV<KeyT, ValueT>, OutputT> A function to handle stateful processing in Apache Beam's SparkRunner.An iterator implementation that processes timers fromSparkTimerInternals
.AJavaStreamingContext
factory for resilience.StatefulStreamingParDoEvaluator<KeyT,ValueT, OutputT> A specialized evaluator for ParDo operations in Spark Streaming context that is invoked when stateful streaming is detected in the DoFn.Supports translation between a Beam transform, and Spark's operations on DStreams.Registers classes specialized by the Spark runner.Translator matches Beam transformation with the appropriate evaluator.TestDStream<T>DStream holder Can also crate a DStream from a supplied queue of values, but mainly for testing.