Interface Anonymizer<K>

    • Method Detail

      • anonymize

        Attribute anonymize​(Map<Value,​Value> valueMap,
                            Set<Value> valueSet,
                            Attribute attribute)
        Take an attribute and its value, anonymizing all of them.
        Parameters:
        valueMap - The existing map of value to the associated anonymized counterpart
        valueSet - The existing set of anonymized counterpart
        attribute - The attribute to anonymize
        Returns:
        The anonymized attribute
      • setSchemaManager

        void setSchemaManager​(SchemaManager schemaManager)
        Inject a SchemaManager instance in this Anonymizer
        Parameters:
        schemaManager - The SchemaManager instance
      • setAnonymizers

        void setAnonymizers​(Map<String,​Anonymizer<K>> attributeAnonymizers)
        Set the list of existing anonymizers
        Parameters:
        attributeAnonymizers - The list of existing anonymizers
      • setLatestBytesMap

        void setLatestBytesMap​(Map<Integer,​byte[]> latestBytesMap)
        Parameters:
        latestBytesMap - The latest byte[] anonymized value map