t

com.johnsnowlabs.nlp.annotators.deid

MappingsColumnModel

trait MappingsColumnModel extends MappingsColumnParams

Self Type
MappingsColumnModel with AnnotatorModel[_]
Linear Supertypes
MappingsColumnParams, AuxEncryptionParams, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. MappingsColumnModel
  2. MappingsColumnParams
  3. AuxEncryptionParams
  4. Params
  5. Serializable
  6. Serializable
  7. Identifiable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def afterAnnotate(dataset: DataFrame): DataFrame
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val auxEncryptionKey: Param[String]

    The key used to encrypt and decrypt the mappings (aux) column.

    The key used to encrypt and decrypt the mappings (aux) column. Empty means no encryption.

    Definition Classes
    AuxEncryptionParams
  8. final def clear(param: Param[_]): MappingsColumnModel.this
    Definition Classes
    Params
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. def decryptMappingAnnotation(annotation: Annotation, key: String): Annotation

    Decrypts a mappings chunk annotation produced with encryptMappingAnnotation.

    Decrypts a mappings chunk annotation produced with encryptMappingAnnotation.

    Attributes
    protected
    Definition Classes
    AuxEncryptionParams
  12. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  13. def displaceMappings(annotation: Annotation, offset: Int, spacesLength: Int): Annotation
    Attributes
    protected
  14. def displaceMappings(annotation: Annotation, offset: Int): Annotation
    Attributes
    protected
  15. def encryptMappingAnnotation(annotation: Annotation, key: String): Annotation

    Encrypts the sensitive fields of a mappings chunk annotation.

    Encrypts the sensitive fields of a mappings chunk annotation.

    Attributes
    protected
    Definition Classes
    AuxEncryptionParams
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  19. def explainParams(): String
    Definition Classes
    Params
  20. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  21. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  24. def getAuxEncryptionKey: String

    Gets auxEncryptionKey as stored, that is in its wrapped form.

    Gets auxEncryptionKey as stored, that is in its wrapped form.

    Definition Classes
    AuxEncryptionParams
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  27. def getMappingsColumn: String

    Gets mappingsColumn param

    Gets mappingsColumn param

    Definition Classes
    MappingsColumnParams
  28. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  29. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  30. def getReturnEntityMappings: Boolean
    Definition Classes
    MappingsColumnParams
  31. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  32. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def isAuxEncryptionEnabled: Boolean

    Whether a key was provided, which is what turns aux encryption on.

    Whether a key was provided, which is what turns aux encryption on.

    Attributes
    protected
    Definition Classes
    AuxEncryptionParams
  35. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  38. val mappingsColumn: Param[String]

    This is the mapping column that will return the Annotations chunks with the fake entities.

    This is the mapping column that will return the Annotations chunks with the fake entities. You can change the name of the column with this property. Default is 'aux'.

    Definition Classes
    MappingsColumnParams
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  43. def resolvedAuxKey: String

    The usable key, unwrapped from its stored form.

    The usable key, unwrapped from its stored form. Empty when encryption is disabled.

    Attributes
    protected
    Definition Classes
    AuxEncryptionParams
  44. val returnEntityMappings: BooleanParam

    With this property, you can enable to return mapping column that contains the fake entities.

    With this property, you can enable to return mapping column that contains the fake entities.

    Definition Classes
    MappingsColumnParams
  45. final def set(paramPair: ParamPair[_]): MappingsColumnModel.this
    Attributes
    protected
    Definition Classes
    Params
  46. final def set(param: String, value: Any): MappingsColumnModel.this
    Attributes
    protected
    Definition Classes
    Params
  47. final def set[T](param: Param[T], value: T): MappingsColumnModel.this
    Definition Classes
    Params
  48. def setAuxEncryptionKey(value: String): MappingsColumnModel.this

    Sets the key used to encrypt and decrypt the mappings (aux) column.

    Sets the key used to encrypt and decrypt the mappings (aux) column.

    When set on a de-identification annotator, the original values carried by the mappings column are encrypted with AES-256-GCM. ReIdentification needs the very same key to restore the original text. When left unset, the mappings column is produced in clear text as before.

    Definition Classes
    AuxEncryptionParams
  49. final def setDefault(paramPairs: ParamPair[_]*): MappingsColumnModel.this
    Attributes
    protected
    Definition Classes
    Params
  50. final def setDefault[T](param: Param[T], value: T): MappingsColumnModel.this
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  51. def setMappingsColumn(s: String): MappingsColumnModel.this

    This is the mapping column that will return the Annotations chunks with the fake entities.

    This is the mapping column that will return the Annotations chunks with the fake entities. You can change the name of the column with this property. Default is 'aux'.

    Definition Classes
    MappingsColumnParams
  52. def setReturnEntityMappings(s: Boolean): MappingsColumnModel.this

    With this property, you can enable to return mapping column that contains the fake entities.

    With this property, you can enable to return mapping column that contains the fake entities.

    Definition Classes
    MappingsColumnParams
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from MappingsColumnParams

Inherited from AuxEncryptionParams

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Parameter getters

Parameters

Parameter setters

Ungrouped