种类:转换;
id:Sequence;
描述:从sequence中获取下一个值。
所属类:addsequence.AddSequenceMeta
用来在stream中增加一个sequence,这个sequence,可以来自数据库,也可以是kettle自己生成的。
Examples:
Start at = 1, increment by = 1, max value = 3
This will produce: 1, 2, 3, 1, 2, 3, 1, 2...
Start at = 0, increment by = -1, max value = -2
This will produce: 0, -1, -2, 0, -1, -2, 0...|
Options
The table below contains the options for the Add Sequence step:
Option | Description |
---|---|
Step name | Name of the step; this name has to be unique in a single transformation. |
Name of value | Name of the new sequence value that is added to the stream |
Use DB to generate the sequence | Enable if you want the sequence to be driven by a database sequence.
|
Use a transformation counter to generate the sequence | Enable if you want the sequence to be generated by Kettle
|