public class GeneralMLWriter extends MLWriter implements org.apache.spark.internal.Logging
Constructor and Description |
---|
GeneralMLWriter(PipelineStage stage) |
Modifier and Type | Method and Description |
---|---|
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
$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize
sc, sparkSession, sqlContext
public GeneralMLWriter(PipelineStage stage)
public GeneralMLWriter format(String source)
source
- (undocumented)public GeneralMLWriter session(SparkSession sparkSession)
BaseReadWrite
session
in interface BaseReadWrite
session
in class MLWriter
sparkSession
- (undocumented)