Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package johnsnowlabs
    Definition Classes
    com
  • package nlp
    Definition Classes
    johnsnowlabs
  • trait HasProtectedParams extends AnyRef

    Enables a class to protect a parameter, which means that it can only be set once.

    Enables a class to protect a parameter, which means that it can only be set once.

    This trait will enable a implicit conversion from Param to ProtectedParam. In addition, the new set for ProtectedParam will then check, whether or not the value was already set. If so, then a warning will be output and the value will not be set again.

    Definition Classes
    nlp
  • ProtectedParam

implicit class ProtectedParam[T] extends Param[T]

Linear Supertypes
Param[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProtectedParam
  2. Param
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtectedParam(baseParam: Param[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ->(value: T): ParamPair[T]
    Definition Classes
    Param
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val doc: String
    Definition Classes
    Param
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def equals(obj: Any): Boolean
    Definition Classes
    Param → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def hashCode(): Int
    Definition Classes
    Param → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. var isProtected: Boolean
  15. val isValid: (T) ⇒ Boolean
    Definition Classes
    Param
  16. def jsonDecode(json: String): T
    Definition Classes
    ProtectedParam → Param
  17. def jsonEncode(value: T): String
    Definition Classes
    ProtectedParam → Param
  18. val name: String
    Definition Classes
    Param
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val parent: String
    Definition Classes
    Param
  23. def setProtected(): ProtectedParam.this.type

    Sets this parameter to be protected, which means that it can only be set once.

    Sets this parameter to be protected, which means that it can only be set once.

    Default values do not count as a set value and can be overridden.

    returns

    This object

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toParam: Param[T]
  26. final def toString(): String
    Definition Classes
    Param → AnyRef → Any
  27. def w(value: T): ParamPair[T]
    Definition Classes
    Param
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Param[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped