Numeric String Key (NumericStringPkGenerator)
The Numeric String Key generator generates unique numeric strings of the same length as the input value.
The Numeric String Key generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.
There is no generator-specific configuration.
{
"presetId": "string",
"generatorId": "NumericStringPkGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string", //MongoDB only
"metadata": {
"isConsistent": false
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}
In the following example replacement for the Numeric String Key generator, consistency is disabled.
{
"name": "userid",
"schema": "public",
"table": "users",
"links": [
{
"presetId": "NumericStringPkGenerator",
"generatorId": "NumericStringPkGenerator",
"schema": "public",
"table": "users",
"column": "userid",
"metadata": {
"isConsistent": false
}
}
]
}
Last modified 1mo ago