GeneralMLWriter (Spark 4.0.0 JavaDoc) (original) (raw)
All Implemented Interfaces:
org.apache.spark.internal.Logging
, [BaseReadWrite](BaseReadWrite.html "interface in org.apache.spark.ml.util")
public class GeneralMLWriter extends MLWriterimplements org.apache.spark.internal.Logging
A ML Writer which delegates based on the requested format.
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging
org.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
Constructor Summary
Constructors
Method Summary
Specifies the format of ML export (e.g.
Sets the Spark Session to use for saving/loading.
Methods inherited from interface org.apache.spark.internal.Logging
initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContext
Constructor Details
GeneralMLWriter
Method Details
format
Specifies the format of ML export (e.g. "pmml", "internal", or the fully qualified class name for export).
Parameters:
source
- (undocumented)
Returns:
(undocumented)session
Sets the Spark Session to use for saving/loading.
Specified by:
[session](BaseReadWrite.html#session%28org.apache.spark.sql.SparkSession%29)
in interface[BaseReadWrite](BaseReadWrite.html "interface in org.apache.spark.ml.util")
Overrides:
[session](MLWriter.html#session%28org.apache.spark.sql.SparkSession%29)
in class[MLWriter](MLWriter.html "class in org.apache.spark.ml.util")
Parameters:
sparkSession
- (undocumented)
Returns:
(undocumented)