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
seed Random number generator seed of this Element. Overrides default seeding behavior. no 0 1
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
  • pdgf.util.random.PdgfDefaultRandom
  • pdgf.util.random.PdgfDefaultRandom_oldv2
  • pdgf.util.random.PdgfDefaultRandom_oldv1
seed Random number generator seed of this Element. Overrides default seeding behavior. no 0 1
gen Value Generator for this field yes 1 1
  • pdgf.generator.MarkovChainText
  • pdgf.generator.AsReferenceChoice
  • pdgf.generator.WeightedListItem
  • pdgf.generator.DetailFromDate
  • pdgf.generator.BuildList
  • pdgf.generator.InsertIntoString
  • pdgf.generator.UUID
  • pdgf.generator.Probability
  • pdgf.generator.RandomString
  • pdgf.generator.Sequential
  • pdgf.generator.ConvertNumberToString
  • pdgf.generator.WeightedSubListItem
  • pdgf.generator.RandomListItems
  • pdgf.generator.Email
  • pdgf.generator.ActionDeleteIsAlsoUpdate
  • pdgf.generator.DoubleNumber
  • pdgf.generator.Permutation
  • pdgf.generator.Switch
  • pdgf.generator.ReferenceValue
  • pdgf.generator.ForFormula
  • pdgf.generator.PrePostfix
  • pdgf.generator.StaticValue
  • pdgf.generator.Hash
  • pdgf.generator.Padding
  • pdgf.generator.FormatString
  • pdgf.generator.DateTime
  • pdgf.generator.Id
  • pdgf.generator.LastChoice
  • pdgf.generator.MaskString
  • pdgf.generator.Null
  • pdgf.generator.AddRandomSeconds
  • pdgf.generator.RandomStringInRange
  • pdgf.generator.Formula
  • pdgf.generator.AbstractDecimal
  • pdgf.generator.FormatFloatingPoint
  • pdgf.generator.OtherFieldValue
  • pdgf.generator.RandomSentence
  • pdgf.generator.FormatNumber
  • pdgf.generator.Template
  • pdgf.generator.BigBenchReview
  • pdgf.generator.UpperLowerCase
  • pdgf.generator.For
  • pdgf.generator.Relative
  • pdgf.generator.RandomUniqeString
  • pdgf.generator.PermutationReference
  • pdgf.generator.UpdateActionType
  • pdgf.generator.FormatNumberAsDate
  • pdgf.generator.OldReferenceGeneratorDeprecated
  • pdgf.generator.DictList
  • pdgf.generator.ExtendedFormula
  • pdgf.generator.FormatDateAsNumber
  • pdgf.generator.If
  • pdgf.generator.GlobalRowNumber
  • pdgf.generator.LongNumber
  • pdgf.generator.UnsafeDistinct
2.6_#1486_b758 | 2016-05-24