HStore Mask (HStoreMaskGenerator)
The HStore Mask generator runs selected generators on specified key values in an HStore column in a PostgreSQL database. HStore columns contain a set of key-value pairs.
Link object structure
For the HStore Mask generator, there is a link object for each path expression value to assign a generator to.
The generator does not itself support consistency or differential privacy.
The metadata
object is populated from the HStoreMaskMetadata
object. It includes:
pathExpression
, which is the path expression that identifies the value to apply the sub-generator to.The
subGeneratorMetadata
object, which identifies and configures the sub-generator.
Example replacement
In the following example replacement for the HStore Mask generator:
The Random Integer generator is assigned to the value of the
pages
path expression. The generator uses values between 300 and 500.The Character Scramble generator is assigned to the value of the
title
path expression. Consistency is disabled.
Last updated