Search
K
Links

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.
{
"presetId": "string",
"generatorId": "UuidPkGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB onnly
"metadata": {
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}

Example replacement

In the following example replacement for the UUID Key generator, consistency is disabled.
{
"name": "guid",
"schema": "public",
"table": "test",
"links": [
{
"presetId": "UuidPkGenerator",
"generatorId": "UuidPkGenerator",
"schema": "public",
"table": "test",
"column": "guid",
"metadata": {
"isConsistent": false
}
}
]
}