Package org.apache.beam.runners.spark
Interface SparkPipelineOptions
- All Superinterfaces:
ApplicationNameOptions
,FileStagingOptions
,HasDisplayData
,PipelineOptions
,SparkCommonPipelineOptions
,StreamingOptions
- All Known Subinterfaces:
SparkContextOptions
,SparkPortableStreamingPipelineOptions
,TestSparkPipelineOptions
Spark runner
PipelineOptions
handles Spark execution-related configurations, such as the
master address, batch-interval, and other user-related knobs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, 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
Modifier and TypeMethodDescriptionboolean
boolean
void
setBatchIntervalMillis
(Long batchInterval) void
setBundleSize
(Long value) void
setCacheDisabled
(boolean value) void
setCheckpointDurationMillis
(Long durationMillis) void
setMaxRecordsPerBatch
(Long maxRecordsPerBatch) void
setMinReadTimeMillis
(Long minReadTimeMillis) void
setReadTimePercentage
(Double readTimePercentage) void
setUsesProvidedSparkContext
(boolean value) 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, getPreferGroupByKeyToHandleHugeValues, getSparkMaster, getStorageLevel, setCheckpointDir, setEnableSparkMetricSinks, setPreferGroupByKeyToHandleHugeValues, setSparkMaster, setStorageLevel
Methods inherited from interface org.apache.beam.sdk.options.StreamingOptions
getUpdateCompatibilityVersion, isStreaming, setStreaming, setUpdateCompatibilityVersion
-
Method Details
-
getBatchIntervalMillis
-
setBatchIntervalMillis
-
getMinReadTimeMillis
-
setMinReadTimeMillis
-
getMaxRecordsPerBatch
-
setMaxRecordsPerBatch
-
getReadTimePercentage
-
setReadTimePercentage
-
getCheckpointDurationMillis
-
setCheckpointDurationMillis
-
getBundleSize
-
setBundleSize
-
getUsesProvidedSparkContext
-
setUsesProvidedSparkContext
void setUsesProvidedSparkContext(boolean value) -
isCacheDisabled
-
setCacheDisabled
void setCacheDisabled(boolean value)
-