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

Function QueryCtx_SetAST

src/query_ctx.c:189–195  ·  view source on GitHub ↗

set the provided AST for access through the QueryCtx

Source from the content-addressed store, hash-verified

187
188// set the provided AST for access through the QueryCtx
189void QueryCtx_SetAST
190(
191 AST *ast
192) {
193 QueryCtx *ctx = _QueryCtx_GetCreateCtx();
194 ctx->query_data.ast = ast;
195}
196
197// set the provided GraphCtx for access through the QueryCtx
198void QueryCtx_SetGraphCtx

Callers 14

ExecutionCtx_CloneFunction · 0.85
AST_MockMatchClauseFunction · 0.85
AST_BuildFunction · 0.85
AST_NewSegmentFunction · 0.85
_process_segmentsFunction · 0.85
_tie_segmentsFunction · 0.85
_CloneOpTreeFunction · 0.85
ExecutionPlan_CloneFunction · 0.85
_buildForeachOpFunction · 0.85

Calls 1

_QueryCtx_GetCreateCtxFunction · 0.85

Tested by

no test coverage detected