RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
Pentaho Kettle User Defined Java Class: Creating Multiple Output Rows For Each Input Row
To do that, you'll need to clone the input row:
for(int i=1; i<=12; i++) {
Object[] clonedRow = getInputRowMeta().cloneRow(r);
Object[] newRow = createOutputRow(clonedRow, clonedRow.length);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment