public interface TestSparkPipelineOptions extends SparkPipelineOptions, TestPipelineOptions
SparkPipelineOptions for tests.| Modifier and Type | Interface and Description |
|---|---|
static class |
TestSparkPipelineOptions.DefaultStopPipelineWatermarkFactory
A factory to provide the default watermark to stop a pipeline that reads
from an unbounded source.
|
SparkPipelineOptions.TmpCheckpointDirFactoryPipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactoryTestPipelineOptions.AlwaysPassMatcher, TestPipelineOptions.AlwaysPassMatcherFactory| Modifier and Type | Method and Description |
|---|---|
Integer |
getExpectedAssertions() |
Long |
getStopPipelineWatermark() |
boolean |
isForceStreaming() |
void |
setExpectedAssertions(Integer expectedAssertions) |
void |
setForceStreaming(boolean forceStreaming) |
void |
setStopPipelineWatermark(Long stopPipelineWatermark) |
getBatchIntervalMillis, getCheckpointDir, getCheckpointDurationMillis, getEnableSparkMetricSinks, getMaxRecordsPerBatch, getMinReadTimeMillis, getReadTimePercentage, getSparkMaster, getStorageLevel, getUsesProvidedSparkContext, setBatchIntervalMillis, setCheckpointDir, setCheckpointDurationMillis, setEnableSparkMetricSinks, setMaxRecordsPerBatch, setMinReadTimeMillis, setReadTimePercentage, setSparkMaster, setStorageLevel, setUsesProvidedSparkContextisStreaming, setStreaminggetAppName, setAppNameas, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocationpopulateDisplayDatagetOnCreateMatcher, getOnSuccessMatcher, getTempRoot, getTestTimeoutSeconds, setOnCreateMatcher, setOnSuccessMatcher, setTempRoot, setTestTimeoutSeconds@Default.Boolean(value=false) boolean isForceStreaming()
void setForceStreaming(boolean forceStreaming)
void setExpectedAssertions(Integer expectedAssertions)
@Default.InstanceFactory(value=TestSparkPipelineOptions.DefaultStopPipelineWatermarkFactory.class) Long getStopPipelineWatermark()
void setStopPipelineWatermark(Long stopPipelineWatermark)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.