mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
QQQ-37 update streamed-etl steps to not have to use different record-list
This commit is contained in:
@ -76,7 +76,7 @@ public class ClonePeopleTransformStep extends AbstractTransformStep implements P
|
||||
@Override
|
||||
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException
|
||||
{
|
||||
for(QRecord inputPerson : getInputRecordPage())
|
||||
for(QRecord inputPerson : runBackendStepInput.getRecords())
|
||||
{
|
||||
Serializable id = inputPerson.getValue("id");
|
||||
if("Garret".equals(inputPerson.getValueString("firstName")))
|
||||
@ -92,7 +92,7 @@ public class ClonePeopleTransformStep extends AbstractTransformStep implements P
|
||||
QRecord outputPerson = new QRecord(inputPerson);
|
||||
outputPerson.setValue("id", null);
|
||||
outputPerson.setValue("firstName", "Clone of: " + inputPerson.getValueString("firstName"));
|
||||
getOutputRecordPage().add(outputPerson);
|
||||
runBackendStepOutput.getRecords().add(outputPerson);
|
||||
|
||||
if(inputPerson.getValueString("firstName").matches("Clone of.*"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user