Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RandomNumberFormatEntry

The Random Number masking format generates random and unique integers within a range. The range is defined by the startValue and endValue attributes. The start value must be less than or equal to the end value. When masking columns with uniqueness constraint, ensure that the range is sufficient enough to generate unique values. To learn more, check Random Number in the Data Safe documentation.

Properties

Optional description

description: undefined | string

The description of the format entry.

endValue

endValue: number

The upper bound of the range within which random numbers should be generated. It must be greater than or equal to the start value. It supports input of long type. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

startValue

startValue: number

The lower bound of the range within which random numbers should be generated. It must be less than or equal to the end value. It supports input of long type. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Const type

type: string = "RANDOM_NUMBER"

Methods

getDeserializedJsonObj

getJsonObj