Package org.apache.beam.runners.spark
Class TestSparkPipelineOptions.DefaultStopPipelineWatermarkFactory
java.lang.Object
org.apache.beam.runners.spark.TestSparkPipelineOptions.DefaultStopPipelineWatermarkFactory
- All Implemented Interfaces:
DefaultValueFactory<Long>
- Enclosing interface:
TestSparkPipelineOptions
public static class TestSparkPipelineOptions.DefaultStopPipelineWatermarkFactory
extends Object
implements DefaultValueFactory<Long>
A factory to provide the default watermark to stop a pipeline that reads from an unbounded
source.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
DefaultStopPipelineWatermarkFactory
public DefaultStopPipelineWatermarkFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<Long>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-