| 77 | } |
| 78 | |
| 79 | static Record AllNodeScanConsume(OpBase *opBase) { |
| 80 | AllNodeScan *op = (AllNodeScan *)opBase; |
| 81 | |
| 82 | Node n = GE_NEW_NODE(); |
| 83 | n.attributes = DataBlockIterator_Next(op->iter, &n.id); |
| 84 | if(n.attributes == NULL) return NULL; |
| 85 | |
| 86 | Record r = OpBase_CreateRecord((OpBase *)op); |
| 87 | Record_AddNode(r, op->nodeRecIdx, n); |
| 88 | |
| 89 | return r; |
| 90 | } |
| 91 | |
| 92 | static OpResult AllNodeScanReset(OpBase *op) { |
| 93 | AllNodeScan *allNodeScan = (AllNodeScan *)op; |
nothing calls this directly
no test coverage detected