MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Record_Add

Function Record_Add

src/execution_plan/record.c:249–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void Record_Add
250(
251 Record r,
252 uint idx,
253 SIValue v
254) {
255 ASSERT(idx < Record_length(r));
256 switch(SI_TYPE(v)) {
257 case T_NODE:
258 Record_AddNode(r, idx, *(Node *)v.ptrval);
259 break;
260 case T_EDGE:
261 Record_AddEdge(r, idx, *(Edge *)v.ptrval);
262 break;
263 default:
264 Record_AddScalar(r, idx, v);
265 break;
266 }
267}
268
269SIValue *Record_AddScalar
270(

Callers 4

_yieldFunction · 0.85
_handoffFunction · 0.85
ProjectConsumeFunction · 0.85
_handoffFunction · 0.85

Calls 4

Record_lengthFunction · 0.85
Record_AddNodeFunction · 0.85
Record_AddEdgeFunction · 0.85
Record_AddScalarFunction · 0.85

Tested by

no test coverage detected