Package org.apache.spark.ml
Class Pipeline.SharedReadWrite$
Object
org.apache.spark.ml.Pipeline.SharedReadWrite$
- Enclosing class:
- Pipeline
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Pipeline.SharedReadWrite$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetStagePath(String stageUid, int stageIdx, int numStages, String stagesDir) Get path for saving the given stage.scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkContext sc, String path) Deprecated.use load with SparkSession.scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkSession spark, String path) voidsaveImpl(Params instance, PipelineStage[] stages, SparkContext sc, String path) Deprecated.use saveImpl with SparkSession.voidsaveImpl(Params instance, PipelineStage[] stages, SparkSession spark, String path) voidvalidateStages(PipelineStage[] stages) Check that all stages are Writable
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
SharedReadWrite$public SharedReadWrite$()
 
- 
- 
Method Details- 
validateStagesCheck that all stages are Writable
- 
saveImplDeprecated.use saveImpl with SparkSession. Since 4.0.0.Save metadata and stages for aPipelineorPipelineModel- save metadata to path/metadata - save stages to stages/IDX_UID- Parameters:
- instance- (undocumented)
- stages- (undocumented)
- sc- (undocumented)
- path- (undocumented)
 
- 
saveImpl
- 
loadpublic scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkContext sc, String path) Deprecated.use load with SparkSession. Since 4.0.0.Load metadata and stages for aPipelineorPipelineModel- Parameters:
- expectedClassName- (undocumented)
- sc- (undocumented)
- path- (undocumented)
- Returns:
- (UID, list of stages)
 
- 
loadpublic scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkSession spark, String path) 
- 
getStagePathGet path for saving the given stage.
 
-