public class GeneralMLWriter extends MLWriter implements Logging
Constructor and Description |
---|
GeneralMLWriter(PipelineStage stage) |
Modifier and Type | Method and Description |
---|---|
GeneralMLWriter |
context(SQLContext sqlContext)
Sets the Spark SQLContext to use for saving/loading.
|
GeneralMLWriter |
format(String source)
Specifies the format of ML export (e.g.
|
GeneralMLWriter |
session(SparkSession sparkSession)
Sets the Spark Session to use for saving/loading.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
optionSparkSession, sc, sparkSession, sqlContext
public GeneralMLWriter(PipelineStage stage)
public GeneralMLWriter context(SQLContext sqlContext)
BaseReadWrite
context
in interface BaseReadWrite
context
in class MLWriter
sqlContext
- (undocumented)public GeneralMLWriter format(String source)
source
- (undocumented)public GeneralMLWriter session(SparkSession sparkSession)
BaseReadWrite
session
in interface BaseReadWrite
session
in class MLWriter
sparkSession
- (undocumented)