tRowGenerator is mostly used for creating dummy data which is used for test purposes. tRowGenerator can also be used to generate some random records.
Go to schema definition and enter the required columns. We have to compulsorily give the function definition. Here, we are selecting the function as Numeric.sequence where it can generate a series of numbers.
In function parameters, we have to give the sequence identifier, start value and step.
This produces the following output,
Generating Months using tJavaRow
The same months can be generated by the following code in tJavaRow component that uses simple if, else if, else statements. The output to be produced must be given inside the curly braces / brackets.
This produces the following output,
------------------------------------------Thank you very much----------------------------------------------
No comments:
Post a Comment