Class

com.salesforce.op.stages

OpPipelineStageReader

Related Doc: package stages

Permalink

final class OpPipelineStageReader extends MLReader[OpPipelineStageBase]

Reads the serialized output of OpPipelineStageWriter

Linear Supertypes
MLReader[OpPipelineStageBase], BaseReadWrite, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpPipelineStageReader
  2. MLReader
  3. BaseReadWrite
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpPipelineStageReader(feats: Seq[OPFeature])

    Permalink
  2. new OpPipelineStageReader(origStage: OpPipelineStageBase)

    Permalink

    Legacy ctor which requires origin stage to be preset when loading stages

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def context(sqlContext: SQLContext): OpPipelineStageReader.this.type

    Permalink
    Definition Classes
    MLReader → BaseReadWrite
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. val features: Seq[OPFeature]

    Permalink

    features loaded so far (used to lookup input features fot the stage)

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def load(path: String): OpPipelineStageBase

    Permalink

    Load from disk.

    Load from disk. File should contain data serialized in json format

    path

    to the stored output

    returns

    OpPipelineStageBase

    Definition Classes
    OpPipelineStageReader → MLReader
  15. def loadFromJson(json: JValue, path: String): OpPipelineStageBase

    Permalink

    Loads from the json serialized data

    Loads from the json serialized data

    json

    json

    path

    to the stored output

    returns

    OpPipelineStageBase

  16. def loadFromJsonString(jsonStr: String, path: String): OpPipelineStageBase

    Permalink

    Loads from the json serialized data

    Loads from the json serialized data

    jsonStr

    json string

    path

    to the stored output

    returns

    OpPipelineStageBase

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val originalStage: Option[OpPipelineStageBase]

    Permalink

    original stage instance from the workflow (legacy)

  21. final def sc: SparkContext

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  22. def session(sparkSession: SparkSession): OpPipelineStageReader.this.type

    Permalink
    Definition Classes
    MLReader → BaseReadWrite
  23. final def sparkSession: SparkSession

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  24. final def sqlContext: SQLContext

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MLReader[OpPipelineStageBase]

Inherited from BaseReadWrite

Inherited from AnyRef

Inherited from Any

Ungrouped