public class SparkRuntimeEnvironment extends Object implements RuntimeEnvironment
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.seatunnel.common.config.CheckResult |
checkConfig() |
protected boolean |
checkIsContainHive(org.apache.seatunnel.shade.com.typesafe.config.Config config) |
org.apache.seatunnel.shade.com.typesafe.config.Config |
getConfig() |
static SparkRuntimeEnvironment |
getInstance(org.apache.seatunnel.shade.com.typesafe.config.Config config) |
org.apache.seatunnel.common.constants.JobMode |
getJobMode() |
org.apache.spark.SparkConf |
getSparkConf() |
org.apache.spark.sql.SparkSession |
getSparkSession() |
org.apache.spark.streaming.StreamingContext |
getStreamingContext() |
SparkRuntimeEnvironment |
prepare() |
void |
registerPlugin(List<URL> pluginPaths) |
RuntimeEnvironment |
setConfig(org.apache.seatunnel.shade.com.typesafe.config.Config config) |
void |
setEnableHive(boolean enableHive) |
RuntimeEnvironment |
setJobMode(org.apache.seatunnel.common.constants.JobMode mode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnableCheckpoint, getJobMode, initializepublic void setEnableHive(boolean enableHive)
public RuntimeEnvironment setConfig(org.apache.seatunnel.shade.com.typesafe.config.Config config)
setConfig 在接口中 RuntimeEnvironmentpublic RuntimeEnvironment setJobMode(org.apache.seatunnel.common.constants.JobMode mode)
setJobMode 在接口中 RuntimeEnvironmentpublic org.apache.seatunnel.common.constants.JobMode getJobMode()
getJobMode 在接口中 RuntimeEnvironmentpublic org.apache.seatunnel.shade.com.typesafe.config.Config getConfig()
getConfig 在接口中 RuntimeEnvironmentpublic org.apache.seatunnel.common.config.CheckResult checkConfig()
checkConfig 在接口中 RuntimeEnvironmentpublic void registerPlugin(List<URL> pluginPaths)
registerPlugin 在接口中 RuntimeEnvironmentpublic SparkRuntimeEnvironment prepare()
prepare 在接口中 RuntimeEnvironmentpublic org.apache.spark.sql.SparkSession getSparkSession()
public org.apache.spark.streaming.StreamingContext getStreamingContext()
public org.apache.spark.SparkConf getSparkConf()
protected boolean checkIsContainHive(org.apache.seatunnel.shade.com.typesafe.config.Config config)
public static SparkRuntimeEnvironment getInstance(org.apache.seatunnel.shade.com.typesafe.config.Config config)
Copyright © 2025 The Apache Software Foundation. All rights reserved.