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

Function QueryCtx_GetAST

src/query_ctx.c:230–234  ·  view source on GitHub ↗

retrieve the AST

Source from the content-addressed store, hash-verified

228
229// retrieve the AST
230AST *QueryCtx_GetAST(void) {
231 QueryCtx *ctx = _QueryCtx_GetCtx();
232 ASSERT(ctx != NULL);
233 return ctx->query_data.ast;
234}
235
236// retrieve the query parameters values map
237rax *QueryCtx_GetParams(void) {

Callers 15

_ResultSet_SetColumnsFunction · 0.85
AST_ToStringFunction · 0.85
_AR_EXP_FromIdentifierFunction · 0.85
_referred_entityFunction · 0.85
QueryGraph_AddPathFunction · 0.85
_tie_segmentsFunction · 0.85
ExecutionPlan_CloneFunction · 0.85
NewCondVarLenTraverseOpFunction · 0.85
_buildForeachOpFunction · 0.85

Calls 1

_QueryCtx_GetCtxFunction · 0.85

Tested by 9

test_subTreesFunction · 0.68
test_collectModifiedFunction · 0.68
test_NOTReductionFunction · 0.68
test_containsFuncFunction · 0.68
test_cloneFunction · 0.68
test_compactFunction · 0.68