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.UserAgentFactoryNested 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 TypeMethodDescriptionbooleanbooleanvoidsetBatchIntervalMillis(Long batchInterval) voidsetBundleSize(Long value) voidsetCacheDisabled(boolean value) voidsetCheckpointDurationMillis(Long durationMillis) voidsetMaxRecordsPerBatch(Long maxRecordsPerBatch) voidsetMinReadTimeMillis(Long minReadTimeMillis) voidsetReadTimePercentage(Double readTimePercentage) voidsetUsesProvidedSparkContext(boolean value) Methods inherited from interface org.apache.beam.sdk.options.ApplicationNameOptions
getAppName, setAppNameMethods inherited from interface org.apache.beam.sdk.options.FileStagingOptions
getFilesToStage, setFilesToStageMethods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayDataMethods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getGbek, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setGbek, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgentMethods inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
getCheckpointDir, getEnableSparkMetricSinks, getPreferGroupByKeyToHandleHugeValues, getSparkMaster, getStorageLevel, setCheckpointDir, setEnableSparkMetricSinks, setPreferGroupByKeyToHandleHugeValues, setSparkMaster, setStorageLevelMethods 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)
-