public interface BaseReadWrite
MLWriter
and MLReader
.Modifier and Type | Method and Description |
---|---|
BaseReadWrite |
context(SQLContext sqlContext)
Deprecated.
Use session instead. This method will be removed in 3.0.0.
|
scala.Option<SparkSession> |
optionSparkSession() |
SparkContext |
sc()
Returns the underlying `SparkContext`.
|
BaseReadWrite |
session(SparkSession sparkSession)
Sets the Spark Session to use for saving/loading.
|
SparkSession |
sparkSession()
Returns the user-specified Spark Session or the default.
|
SQLContext |
sqlContext()
Returns the user-specified SQL context or the default.
|
BaseReadWrite context(SQLContext sqlContext)
sqlContext
- (undocumented)scala.Option<SparkSession> optionSparkSession()
SparkContext sc()
BaseReadWrite session(SparkSession sparkSession)
sparkSession
- (undocumented)SparkSession sparkSession()
SQLContext sqlContext()