public static class Pipeline.SharedReadWrite$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Pipeline.SharedReadWrite$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Pipeline.SharedReadWrite$() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStagePath(java.lang.String stageUid,
int stageIdx,
int numStages,
java.lang.String stagesDir)
Get path for saving the given stage.
|
scala.Tuple2<java.lang.String,PipelineStage[]> |
load(java.lang.String expectedClassName,
SparkContext sc,
java.lang.String path)
Load metadata and stages for a
Pipeline or PipelineModel |
void |
saveImpl(Params instance,
PipelineStage[] stages,
SparkContext sc,
java.lang.String path)
Save metadata and stages for a
Pipeline or PipelineModel
- save metadata to path/metadata
- save stages to stages/IDX_UID |
void |
validateStages(PipelineStage[] stages)
Check that all stages are Writable
|
public static final Pipeline.SharedReadWrite$ MODULE$
public void validateStages(PipelineStage[] stages)
public void saveImpl(Params instance, PipelineStage[] stages, SparkContext sc, java.lang.String path)
Pipeline
or PipelineModel
- save metadata to path/metadata
- save stages to stages/IDX_UIDinstance
- (undocumented)stages
- (undocumented)sc
- (undocumented)path
- (undocumented)public scala.Tuple2<java.lang.String,PipelineStage[]> load(java.lang.String expectedClassName, SparkContext sc, java.lang.String path)
Pipeline
or PipelineModel
expectedClassName
- (undocumented)sc
- (undocumented)path
- (undocumented)public java.lang.String getStagePath(java.lang.String stageUid, int stageIdx, int numStages, java.lang.String stagesDir)