Package org.apache.beam.runners.spark
Interface TestSparkPipelineOptions
-
- All Superinterfaces:
org.apache.beam.sdk.options.ApplicationNameOptions,org.apache.beam.sdk.options.FileStagingOptions,org.apache.beam.sdk.transforms.display.HasDisplayData,org.apache.beam.sdk.options.PipelineOptions,SparkCommonPipelineOptions,SparkPipelineOptions,org.apache.beam.sdk.options.StreamingOptions,org.apache.beam.sdk.testing.TestPipelineOptions
public interface TestSparkPipelineOptions extends SparkPipelineOptions, org.apache.beam.sdk.testing.TestPipelineOptions
ASparkPipelineOptionsfor tests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTestSparkPipelineOptions.DefaultStopPipelineWatermarkFactoryA factory to provide the default watermark to stop a pipeline that reads from an unbounded source.-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
-
Nested classes/interfaces inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
SparkCommonPipelineOptions.StorageLevelFactory, SparkCommonPipelineOptions.TmpCheckpointDirFactory
-
-
Field Summary
-
Fields inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
DEFAULT_MASTER_URL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.lang.IntegergetExpectedAssertions()java.lang.LonggetStopPipelineWatermark()booleanisForceStreaming()voidsetExpectedAssertions(java.lang.Integer expectedAssertions)voidsetForceStreaming(boolean forceStreaming)voidsetStopPipelineWatermark(java.lang.Long stopPipelineWatermark)-
Methods inherited from interface org.apache.beam.sdk.options.ApplicationNameOptions
getAppName, setAppName
-
Methods inherited from interface org.apache.beam.sdk.options.FileStagingOptions
getFilesToStage, setFilesToStage
-
Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayData
-
Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
-
Methods inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
getCheckpointDir, getEnableSparkMetricSinks, getSparkMaster, getStorageLevel, setCheckpointDir, setEnableSparkMetricSinks, setSparkMaster, setStorageLevel
-
Methods inherited from interface org.apache.beam.runners.spark.SparkPipelineOptions
getBatchIntervalMillis, getBundleSize, getCheckpointDurationMillis, getMaxRecordsPerBatch, getMinReadTimeMillis, getReadTimePercentage, getUsesProvidedSparkContext, isCacheDisabled, setBatchIntervalMillis, setBundleSize, setCacheDisabled, setCheckpointDurationMillis, setMaxRecordsPerBatch, setMinReadTimeMillis, setReadTimePercentage, setUsesProvidedSparkContext
-
-
-
-
Method Detail
-
isForceStreaming
@Boolean(false) boolean isForceStreaming()
-
setForceStreaming
void setForceStreaming(boolean forceStreaming)
-
getExpectedAssertions
@Nullable java.lang.Integer getExpectedAssertions()
-
setExpectedAssertions
void setExpectedAssertions(java.lang.Integer expectedAssertions)
-
getStopPipelineWatermark
@InstanceFactory(DefaultStopPipelineWatermarkFactory.class) java.lang.Long getStopPipelineWatermark()
-
setStopPipelineWatermark
void setStopPipelineWatermark(java.lang.Long stopPipelineWatermark)
-
-