Text Composition (TextCompositionGenerator)

The Text Composition generator creates a text string that includes values from other columns in the same row.

The Text Composition generator does not support configuration of linking or consistency. You cannot configure differential privacy.

The metadata object is populated from the TextCompositionMetadata object.

The generator-specific configuration is the template to use to populate the value. The template uses the Liquid template syntaxarrow-up-right.

{
  "presetId": "string",
  "generatorId": "TextCompositionGenerator",
  "schema": "string",
  "table": "string",
  "column": "string",
  "dataType": "string", //MongoDB only
  "metadata": {
    "template": "string"
  },
  "encryptionProcessor": "x-on", //To use configured Structural data encryption
  "customValueProcessor": "string" //If custom value processor applied
}

Example replacement

The following example applies the Text Composition generator string to a nameabbrev column. The value includes the full value of the lastname column, and the first character of the firstname column.

Last updated

Was this helpful?