Class/Object

com.salesforce.op.features

TransientFeature

Related Docs: object TransientFeature | package features

Permalink

class TransientFeature extends Serializable

Proxy class to be used by Op Stages that holds a valid reference to a feature on the master node without having to serialize the entire Feature to worker nodes. Only the data that the worker might need is serialized, eg name, isResponse, and isRaw

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransientFeature
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransientFeature(f: OPFeature, h: FeatureHistory)

    Permalink
  2. new TransientFeature(name: String, isResponse: Boolean, isRaw: Boolean, uid: String, typeName: String, originFeatures: Seq[String], stages: Seq[String], feature: OPFeature = null)

    Permalink

    name

    name of feature

    isResponse

    is response feature

    isRaw

    is a raw feature

    uid

    uid of feature

    typeName

    type of feature

    originFeatures

    raw features used to create this feature

    stages

    operation names of all stages used to create this feature

    feature

    actual feature used to create transient (only available on driver)

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. def asFeatureLike[I <: FeatureType]: FeatureLike[I]

    Permalink

    Return the underlying FeatureLike[_] object cast to feature type I

    Return the underlying FeatureLike[_] object cast to feature type I

    I

    feature type

    returns

    FeatureLike[I] instance

    Exceptions thrown

    RuntimeException in case the feature is null

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    Tests the equality of the TransientFeature objects

    Tests the equality of the TransientFeature objects

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. implicit val formats: Formats

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getFeature(): OPFeature

    Permalink

    Return the underlying FeatureLike[_] instance

    Return the underlying FeatureLike[_] instance

    returns

    FeatureLike[I] instance

    Exceptions thrown

    RuntimeException in case the feature is null

  13. def hashCode(): Int

    Permalink

    Returns the hash code of this feature

    Returns the hash code of this feature

    returns

    hash code

    Definition Classes
    TransientFeature → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val isRaw: Boolean

    Permalink

    is a raw feature

  16. val isResponse: Boolean

    Permalink

    is response feature

  17. val name: String

    Permalink

    name of feature

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val originFeatures: Seq[String]

    Permalink

    raw features used to create this feature

  22. val stages: Seq[String]

    Permalink

    operation names of all stages used to create this feature

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toColumnMetaData(isNull: Boolean = false): OpVectorColumnMetadata

    Permalink

    Transform trasient feature into column metadata for use vectors (for when each feature creates one column of a vector)

    Transform trasient feature into column metadata for use vectors (for when each feature creates one column of a vector)

    isNull

    is the metadata created for a null indicator column

    returns

    OpVectorColumnMetadata for vector feature

  25. def toJson: JValue

    Permalink

    Convert to JObject representation without saving the underlying FeatureLike instance

    Convert to JObject representation without saving the underlying FeatureLike instance

    returns

    JObject

  26. def toJsonString(pretty: Boolean = true): String

    Permalink

    Convert this instance to json string

    Convert this instance to json string

    returns

    json string

  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def toVectorMetaData(size: Int, fieldName: Option[String] = None): OpVectorMetadata

    Permalink

    Transform transient feature into vector metadata for use vectors (for when each feature creates multiple columns of a vector) assigns indicator group to feature name since multiple columns are created from single feature - does not provide indicator values since that needs the transform information (can copy this output with known values when available)

    Transform transient feature into vector metadata for use vectors (for when each feature creates multiple columns of a vector) assigns indicator group to feature name since multiple columns are created from single feature - does not provide indicator values since that needs the transform information (can copy this output with known values when available)

    size

    size of vector being created

    fieldName

    name of output

    returns

    OpVectorMetadata for vector feature

  29. val typeName: String

    Permalink

    type of feature

  30. val uid: String

    Permalink

    uid of feature

  31. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped