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.
The metadata object is populated from the BaseMetadata object.
There is no generator-specific configuration.
In the following example replacement for the Numeric String Key generator, consistency is disabled.
{
"schema": "string",
"table": "string",
"column": "string",
"path": "string", //JSON fields only
"dataType": "string", //MongoDB, Amazon DynamoDB, and JSON fields only
"metadata": {
"presetId": "string",
"generatorId": "NumericStringPkGenerator",
"isConsistent": false,
"encryptionProcessor": "x-on", //To use configured Structural data encryption
"customValueProcessor": "string" //If custom value processor applied
}
}{
"name": "userid",
"schema": "public",
"table": "users",
"links": [
{
"schema": "public",
"table": "users",
"column": "userid",
"metadata": {
"presetId": "NumericStringPkGenerator",
"generatorId": "NumericStringPkGenerator",
"isConsistent": false
}
}
]
}