use of org.apache.beam.runners.spark.structuredstreaming.SparkStructuredStreamingPipelineOptions in project beam by apache.
the class GroupByKeyTest method beforeClass.
@BeforeClass
public static void beforeClass() {
SparkStructuredStreamingPipelineOptions options = PipelineOptionsFactory.create().as(SparkStructuredStreamingPipelineOptions.class);
options.setRunner(SparkStructuredStreamingRunner.class);
options.setTestMode(true);
pipeline = Pipeline.create(options);
}
use of org.apache.beam.runners.spark.structuredstreaming.SparkStructuredStreamingPipelineOptions in project beam by apache.
the class CombineTest method beforeClass.
@BeforeClass
public static void beforeClass() {
SparkStructuredStreamingPipelineOptions options = PipelineOptionsFactory.create().as(SparkStructuredStreamingPipelineOptions.class);
options.setRunner(SparkStructuredStreamingRunner.class);
options.setTestMode(true);
pipeline = Pipeline.create(options);
}
use of org.apache.beam.runners.spark.structuredstreaming.SparkStructuredStreamingPipelineOptions in project beam by apache.
the class FlattenTest method beforeClass.
@BeforeClass
public static void beforeClass() {
SparkStructuredStreamingPipelineOptions options = PipelineOptionsFactory.create().as(SparkStructuredStreamingPipelineOptions.class);
options.setRunner(SparkStructuredStreamingRunner.class);
options.setTestMode(true);
pipeline = Pipeline.create(options);
}
use of org.apache.beam.runners.spark.structuredstreaming.SparkStructuredStreamingPipelineOptions in project beam by apache.
the class WindowAssignTest method beforeClass.
@BeforeClass
public static void beforeClass() {
SparkStructuredStreamingPipelineOptions options = PipelineOptionsFactory.create().as(SparkStructuredStreamingPipelineOptions.class);
options.setRunner(SparkStructuredStreamingRunner.class);
options.setTestMode(true);
pipeline = Pipeline.create(options);
}
use of org.apache.beam.runners.spark.structuredstreaming.SparkStructuredStreamingPipelineOptions in project beam by apache.
the class SimpleSourceTest method beforeClass.
@BeforeClass
public static void beforeClass() {
SparkStructuredStreamingPipelineOptions options = PipelineOptionsFactory.create().as(SparkStructuredStreamingPipelineOptions.class);
options.setRunner(SparkStructuredStreamingRunner.class);
options.setTestMode(true);
pipeline = Pipeline.create(options);
}
Aggregations