Class/Object

com.snowplowanalytics.snowplow.enrich.common.enrichments.registry.pii

PiiPseudonymizerEnrichment

Related Docs: object PiiPseudonymizerEnrichment | package pii

Permalink

case class PiiPseudonymizerEnrichment(fieldList: List[PiiField], emitIdentificationEvent: Boolean, strategy: PiiStrategy) extends Enrichment with Product with Serializable

The PiiPseudonymizerEnrichment runs after all other enrichments to find fields that are configured as PII (personally identifiable information) and apply some anonymization (currently only pseudonymization) on them. Currently a single strategy for all the fields is supported due to the configuration format, and there is only one implemented strategy, however the enrichment supports a strategy per field.

The user may specify two types of fields in the config pojo or json. A pojo field is effectively a scalar field in the EnrichedEvent, whereas a json is a "context" formatted field and it can either contain a single value in the case of unstruct_event, or an array in the case of derived_events and contexts.

fieldList

a list of configured PiiFields

emitIdentificationEvent

whether to emit an identification event

strategy

the pseudonymization strategy to use

Linear Supertypes
Serializable, Serializable, Product, Equals, Enrichment, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PiiPseudonymizerEnrichment
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Enrichment
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PiiPseudonymizerEnrichment(fieldList: List[PiiField], emitIdentificationEvent: Boolean, strategy: PiiStrategy)

    Permalink

    fieldList

    a list of configured PiiFields

    emitIdentificationEvent

    whether to emit an identification event

    strategy

    the pseudonymization strategy to use

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. val emitIdentificationEvent: Boolean

    Permalink

    whether to emit an identification event

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. val fieldList: List[PiiField]

    Permalink

    a list of configured PiiFields

  9. def filesToCache: List[(URI, String)]

    Permalink

    Gets the list of files the enrichment requires cached locally.

    Gets the list of files the enrichment requires cached locally. The default implementation returns an empty list; if an enrichment requires files, it must override this method.

    returns

    A list of pairs, where the first entry in the pair indicates the (remote) location of the source file and the second indicates the local path where the enrichment expects to find the file.

    Definition Classes
    Enrichment
  10. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  13. implicit val json4sFormats: Formats

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val strategy: PiiStrategy

    Permalink

    the pseudonymization strategy to use

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

    Permalink
    Definition Classes
    AnyRef
  19. def transformer(event: EnrichedEvent): Unit

    Permalink
  20. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Enrichment

Inherited from AnyRef

Inherited from Any

Ungrouped