runPlan(session, contextIfNull(context, origAdapter), schemaManager, txnService, plan, new RowHandler() {
@Override
public void handleRow(Row oldRow) {
TableTransform transform = transformCache.get(oldRow.rowType().typeId());
Row newRow = transformRow(origContext, origBindings, transform, oldRow);
origAdapter.writeRow(newRow, transform.tableIndexes, transform.groupIndexes);
}
});
}
}