| 17 | } |
| 18 | |
| 19 | void Insert::initLocalStateInternal(ResultSet* resultSet, ExecutionContext* context) { |
| 20 | for (auto& executor : nodeExecutors) { |
| 21 | executor.init(resultSet, context); |
| 22 | } |
| 23 | for (auto& executor : relExecutors) { |
| 24 | executor.init(resultSet, context); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | bool Insert::getNextTuplesInternal(ExecutionContext* context) { |
| 29 | if (!children[0]->getNextTuple(context)) { |