-
Notifications
You must be signed in to change notification settings - Fork 0
Column Configuration Options
K J D S SRINIVASA RAO edited this page Jan 21, 2020
·
24 revisions
A typical column format will contain the below options
- Name : Column name
- Type : Column type. This is a mandatory option.
- Config : Column configuration
- string
- int
- date
- bool
- default
- decimal
- list
- Length - Length of the random string to be generated, this is excluding the prefix and suffix. If not specified default value of 5 will be taken.
- Prefix - Prefix to be added to the generated string. This is optional.
- Suffix - Suffix to be added to the generated string. This is optional.
- LowerCase - Should the generated string be in lower case. This is optional and default value will be true.
- Min - Minimum value from which the random integer must be generated. By default this is set to 1
- Max - Maximum value below which the random integer must be generated. By default this is set to 1000
- Format - Format of the date to be formed. By default this is set to
yyyyMMddHHmmssffff
- No configuration is required. Randomly a true or false value is generated.
- DefaultValue - Default value to be populated for all the rows. This is a mandatory field.
- No configuration required. By default an email of the format
{5}@{5}.{3}is generated where the number in{}represents the length of the string generated
- Min - Minimum value from which the random integer must be generated. By default this is set to 1.
- Max - Maximum value below which the random integer must be generated. By default this is set to 1000.
- decimalPart - Number of digits to be shown after the decimal. By default this is set to 2.
- Add the items from which the a single value has to be picked randomly to the
configobject. Where the first property must be a number starting from 1 and its value should be the value to be considered for the list. For the subsequent item increment the number and add its corresponding value. Please find below and example for reference
Sample list type column config
{
"name": "CustomValues",
"type": "list",
"config": {
"1": "item1",
"2": "item2",
"3": "item3",
"4": "item4"
}
}