Class/Object

com.salesforce.op

OpWorkflowModelWriter

Related Docs: object OpWorkflowModelWriter | package op

Permalink

class OpWorkflowModelWriter extends MLWriter

Writes the OpWorkflowModel to json format. For now we will not serialize the parent of the model

Note

The features/stages must be sorted in topological order

Linear Supertypes
MLWriter, Logging, BaseReadWrite, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpWorkflowModelWriter
  2. MLWriter
  3. Logging
  4. BaseReadWrite
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpWorkflowModelWriter(model: OpWorkflowModel)

    Permalink

    model

    workflow model to save

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): OpWorkflowModelWriter.this.type

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  13. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. implicit val jsonFormats: Formats

    Permalink
  17. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. val model: OpWorkflowModel

    Permalink

    workflow model to save

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

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def option(key: String, value: String): OpWorkflowModelWriter.this.type

    Permalink
    Definition Classes
    MLWriter
    Annotations
    @Since( "2.3.0" )
  34. val optionMap: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    MLWriter
  35. def overwrite(): OpWorkflowModelWriter.this.type

    Permalink
    Definition Classes
    MLWriter
    Annotations
    @Since( "1.6.0" )
  36. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWriter
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  37. def saveImpl(path: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OpWorkflowModelWriter → MLWriter
  38. final def sc: SparkContext

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

    Permalink
    Definition Classes
    MLWriter → BaseReadWrite
  40. var shouldOverwrite: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    MLWriter
  41. final def sparkSession: SparkSession

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def toJson(path: String): JObject

    Permalink

    Json serialize model instance

    Json serialize model instance

    path

    to save the model and its stages

    returns

    model json

  45. def toJsonString(path: String): String

    Permalink

    Json serialize model instance

    Json serialize model instance

    path

    to save the model and its stages

    returns

    model json string

  46. def toString(): String

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

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

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

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

Inherited from MLWriter

Inherited from Logging

Inherited from BaseReadWrite

Inherited from AnyRef

Inherited from Any

Ungrouped