public interface BaseReadWrite
MLWriter and MLReader.| Modifier and Type | Method and Description |
|---|---|
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.
|
SparkContext sc()
BaseReadWrite session(SparkSession sparkSession)
sparkSession - (undocumented)SparkSession sparkSession()
SQLContext sqlContext()