The Random Integer generator returns a random integer between a specified minimum (inclusive) and maximum (exclusive).
Link object structure
The Random Integer generator does not support linking or consistency. You cannot configure differential privacy.
The metadata object is populated from DiscreteDistributionMetadata, which includes the minimum and maximum values.
{"schema":"string","table":"string","column":"string","dataType":"string",//MongoDB only"metadata": {"presetId":"string","generatorId":"RandomIntegerGenerator","min": integer,"max": integer,"encryptionProcessor":"x-on",//To use configured Structural data encryption"customValueProcessor":"string"//If custom value processor applied }}
Example replacement
In this example replacement for the Random Integer generator, the returned value is between 0 and 5. Because max is exclusive, the highest possible value is 4.