Field

Field

Represents a 'field' or 'column' of a database table. A field must have a Generator which determines the 'content' of the field (e.g.: a name, an address, a number, ..).

Attributes
Name Description Required Min Max Allowed Values
nullable Deprecated - Annotation only - No effect on data generation. Annotation if this field can possibly be null. Does not influence data generation. This annotation may be used by code-generation, transform scripts and Output plugins to make formating descissions. e.g. automatic 'create table if not exists' in case of direct Database inserts. no 0 1
  • true
  • false
  • 0
  • 1
size Field size. Most important for types like 'VARCHAR'. Some default generators (like RandomString) may use this value to automatically determine their output size. Output plugins, like CSVRowOutput, may use this value to store rows in flat files as fixed length formatted lines. They may do padding or truncate generated values based on this size parameter. no 0 1
unique Deprecated - Annotation only - No effect on data generation. Annotation if this field contains only unique values {true | false}. Maybe used by output plugins e.g. automatic 'create table if not exists' in case of direct Database inserts. no 0 1
  • true
  • false
  • 0
  • 1
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass yes 1 1
updatePercentage Timeline simulation system. Chance in percent that this field will be selected to be updated if a tuple (row) is updated no 0 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
type Specifies the SQL type of this field. Type must be one of the existing java.sql.Types.* f.e.: java.sql.Types.INTEGER. Maybe used by Output plugins. yes 1 1
  • VARCHAR
  • BIT
  • TINYINT
  • SMALLINT
  • INTEGER
  • BIGINT
  • FLOAT
  • REAL
  • DOUBLE
  • NUMERIC
  • DECIMAL
  • CHAR
  • LONGVARCHAR
  • DATE
  • TIME
  • TIMESTAMP
  • BINARY
  • VARBINARY
  • LONGVARBINARY
  • NULL
  • OTHER
  • JAVA_OBJECT
  • DISTINCT
  • STRUCT
  • ARRAY
  • BLOB
  • CLOB
  • REF
  • DATALINK
  • BOOLEAN
  • ROWID
  • NCHAR
  • NVARCHAR
  • LONGNVARCHAR
  • NCLOB
  • SQLXML
  • REF_CURSOR
  • TIME_WITH_TIMEZONE
  • TIMESTAMP_WITH_TIMEZONE
primary Deprecated - Annotation only - No effect on data generation. Annotation if this field should be a primary key column {true | false}. Maybe used by output plugins e.g. automatic 'create table if not exists' in case of direct Database inserts. no 0 1
  • true
  • false
  • 0
  • 1
Nodes
Name Description Required Min Max Allowed Values
rng Name of random number generator class to be used for calculations in this element. Example: com.en.myRNG no 0 1
seed Random number generator seed of this Element. Overrides default seeding behavior. no 0 1
gen Value Generator for this field yes 1 1
Sub-Attributes
Parent Name Description Required Min Max Allowed Values
rng name fcqn name of RNG class to use no 0 1
2.7-83fb0 | 2020-04-22