public class SparkRunnerStreamingContextFactory extends Object implements org.apache.spark.api.java.function.Function0<org.apache.spark.streaming.api.java.JavaStreamingContext>
JavaStreamingContext factory for resilience.| Constructor and Description |
|---|
SparkRunnerStreamingContextFactory(Pipeline pipeline,
SparkPipelineOptions options,
Checkpoint.CheckpointDir checkpointDir) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.streaming.api.java.JavaStreamingContext |
call() |
public SparkRunnerStreamingContextFactory(Pipeline pipeline, SparkPipelineOptions options, Checkpoint.CheckpointDir checkpointDir)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.