Add method reinitializeRecordLookupHelper, for pages after the first

This commit is contained in:
2024-02-20 21:49:02 -06:00
parent c07d9a779a
commit 3b8eef0f9c

View File

@ -252,6 +252,10 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt
{
initializeRecordLookupHelper(runBackendStepInput, runBackendStepInput.getRecords());
}
else
{
reinitializeRecordLookupHelper(runBackendStepInput, runBackendStepInput.getRecords());
}
///////////////////////////////////////////////////////////////////////////////////////////////////
// query to see if we already have those records in the destination (to determine insert/update) //
@ -468,6 +472,18 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt
/*******************************************************************************
** for pages after the first, possibly load more records in the lookup helper.
*******************************************************************************/
protected void reinitializeRecordLookupHelper(RunBackendStepInput runBackendStepInput, List<QRecord> sourceRecordList) throws QException
{
////////////////////////
// noop in base class //
////////////////////////
}
/*******************************************************************************
** Let the subclass "easily" add an audit to be inserted on the Execute step.
*******************************************************************************/