Class

com.salesforce.op.dsl.RichFeature

RichFeature

Related Doc: package RichFeature

Permalink

implicit class RichFeature[A <: FeatureType] extends AnyRef

Enrichment functions for Feature[A]

A

input type

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichFeature
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichFeature(feature: FeatureLike[A])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], ftt: scala.reflect.api.JavaUniverse.TypeTag[A.Value])

    Permalink

    feature

    FeatureLike

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 alias(name: String): FeatureLike[A]

    Permalink

    Create an alias of this feature with the desired name (note will not work on raw features)

    Create an alias of this feature with the desired name (note will not work on raw features)

    name

    desired feature name

    returns

    alias of the feature

  5. def alias(implicit name: Name): FeatureLike[A]

    Permalink

    Create an alias of this feature by capturing the val name (note will not work on raw features)

    Create an alias of this feature by capturing the val name (note will not work on raw features)

    returns

    alias of the feature

  6. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def exists(p: (A) ⇒ Boolean): FeatureLike[Binary]

    Permalink

    Tests whether a predicate holds for feature[A]

    Tests whether a predicate holds for feature[A]

    p

    predicate to apply on feature[A]

    returns

    feature[Binary]

  11. val feature: FeatureLike[A]

    Permalink

    FeatureLike

  12. def filter(p: (A) ⇒ Boolean, default: A): FeatureLike[A]

    Permalink

    Filter feature[A] using the predicate.

    Filter feature[A] using the predicate. Filtered out values are replaced with a default.

    p

    predicate A => Boolean

    default

    default value if predicate returns false

    returns

    feature of type A

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. implicit val ftt: scala.reflect.api.JavaUniverse.TypeTag[A.Value]

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

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

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

    Permalink
    Definition Classes
    Any
  18. def map[B <: FeatureType, C <: FeatureType, D <: FeatureType, E <: FeatureType](f1: FeatureLike[B], f2: FeatureLike[C], f3: FeatureLike[D], f: (A, B, C, D) ⇒ E)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B], arg1: scala.reflect.api.JavaUniverse.TypeTag[C], arg2: scala.reflect.api.JavaUniverse.TypeTag[D], arg3: scala.reflect.api.JavaUniverse.TypeTag[E], ttb: scala.reflect.api.JavaUniverse.TypeTag[map.B.Value], ttc: scala.reflect.api.JavaUniverse.TypeTag[map.C.Value], ttd: scala.reflect.api.JavaUniverse.TypeTag[map.D.Value], tte: scala.reflect.api.JavaUniverse.TypeTag[map.E.Value]): FeatureLike[E]

    Permalink

    Quaternary transform (feature[A], feature[B], feature[C], feature[D]) => feature[E]

    Quaternary transform (feature[A], feature[B], feature[C], feature[D]) => feature[E]

    f

    map (A, B, C, D) => E

    returns

    feature of type E

  19. def map[B <: FeatureType, C <: FeatureType, D <: FeatureType](f1: FeatureLike[B], f2: FeatureLike[C], f: (A, B, C) ⇒ D)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B], arg1: scala.reflect.api.JavaUniverse.TypeTag[C], arg2: scala.reflect.api.JavaUniverse.TypeTag[D], ttb: scala.reflect.api.JavaUniverse.TypeTag[map.B.Value], ttc: scala.reflect.api.JavaUniverse.TypeTag[map.C.Value], ttd: scala.reflect.api.JavaUniverse.TypeTag[map.D.Value]): FeatureLike[D]

    Permalink

    Ternary transform (feature[A], feature[B], feature[C]) => feature[D]

    Ternary transform (feature[A], feature[B], feature[C]) => feature[D]

    f

    map (A, B, C) => D

    returns

    feature of type D

  20. def map[B <: FeatureType, C <: FeatureType](f1: FeatureLike[B], f: (A, B) ⇒ C)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B], arg1: scala.reflect.api.JavaUniverse.TypeTag[C], ttb: scala.reflect.api.JavaUniverse.TypeTag[map.B.Value], ttc: scala.reflect.api.JavaUniverse.TypeTag[map.C.Value]): FeatureLike[C]

    Permalink

    Binary transform (feature[A], feature[B]) => feature[C]

    Binary transform (feature[A], feature[B]) => feature[C]

    f

    map (A, B) => C

    returns

    feature of type C

  21. def map[B <: FeatureType](f: (A) ⇒ B, operationName: String = "map")(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B], ttb: scala.reflect.api.JavaUniverse.TypeTag[map.B.Value]): FeatureLike[B]

    Permalink

    Unary transform feature[A] => feature[B]

    Unary transform feature[A] => feature[B]

    f

    map A => B

    returns

    feature of type B

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def occurs(matchFn: (A) ⇒ Boolean): FeatureLike[RealNN]

    Permalink

    Apply ToOccur transformer shortcut function This version allows a user to specify a non default matchFn

    Apply ToOccur transformer shortcut function This version allows a user to specify a non default matchFn

    returns

    transformed feature of type Numeric (doolean)

  26. def occurs(): FeatureLike[RealNN]

    Permalink

    Apply ToOccur transformer shortcut function

    Apply ToOccur transformer shortcut function

    returns

    transformed feature of type Numeric (doolean)

  27. def replaceWith(oldVal: A, newVal: A): FeatureLike[A]

    Permalink

    Replace a matching value with a new one

    Replace a matching value with a new one

    oldVal

    of type A

    newVal

    of type A

    returns

    feature of type A

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped