MCPcopy
hub / github.com/uber/aresdb / setCtxLevels

Method setCtxLevels

query/sql/sql_parser.go:1718–1722  ·  view source on GitHub ↗
(s2aCtx *SQL2AqlContext, level, levelWith, levelQuery int)

Source from the content-addressed store, hash-verified

1716}
1717
1718func (v *ASTBuilder) setCtxLevels(s2aCtx *SQL2AqlContext, level, levelWith, levelQuery int) {
1719 s2aCtx.level = level
1720 s2aCtx.levelWith = levelWith
1721 s2aCtx.levelQuery = levelQuery
1722}
1723
1724// generateKey constructs mapKey based on levelQuery and index of the query at the current levelQuery
1725func (v *ASTBuilder) generateKey(qLevel, qType, index int) int {

Callers 12

VisitQueryMethod · 0.95
VisitWithMethod · 0.95
VisitNamedQueryMethod · 0.95
VisitQueryNoWithMethod · 0.95
VisitGroupByMethod · 0.95
VisitSortItemMethod · 0.95
VisitJoinRelationMethod · 0.95
VisitSampledRelationMethod · 0.95
VisitAliasedRelationMethod · 0.95
VisitSubqueryRelationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected