UUID Key (UuidPkGenerator)

The UUID Key generator generates UUID values. It can be used on primary key columns.

The UUID Key generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.

The metadata object is populated from the BaseMetadata object.

There is no generator-specific configuration.

{
  "schema": "string",
  "table": "string",
  "column": "string",
  "dataType": "string"  //MongoDB onnly
  "metadata": {
    "presetId": "string",
    "generatorId": "UuidPkGenerator",
    "isConsistent": boolean,
    "preserveVersionAndVariant": boolean,
    "encryptionProcessor": "x-on", //To use configured Structural data encryption
    "customValueProcessor": "string"  //If custom value processor applied
  }
}

Example replacement

In the following example replacement for the UUID Key generator, the version and variant are not preserved, and consistency is disabled.

{
  "name": "guid",
  "schema": "public",
  "table": "test",
  "links": [
    {
      "schema": "public",
      "table": "test",
      "column": "guid",
      "metadata": {
        "presetId": "UuidPkGenerator",
        "generatorId": "UuidPkGenerator",
        "preserveVersionAndVariant": false,
        "isConsistent": false
      }
    }
  ]
}

Last updated