Random Boolean (RandomBooleanGenerator)

The Random Boolean generator assigns a random boolean value.

The Random Boolean generator does not support linking or consistency. You cannot configure differential privacy.

The metadata object is populated from the RatioMetadataarrow-up-right object. The ratio field indicates the percentage (as a decimal value between 0 and 1.0) of values to set to true.

{
  "schema": "string",
  "table": "string",
  "column": "string",  
  "path": "string",  //JSON fields only
  "dataType": "string",  //MongoDB, Amazon DynamoDB, and JSON fields only
  "metadata": {
    "presetId": "string",
    "generatorId": "RandomBooleanGenerator",
    "ratio": numeric,
    "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 Random Boolean generator, 40% of the destination values are true, and 60% are false.

Last updated

Was this helpful?