MCPcopy Index your code
hub / github.com/uber/aresdb / getInfoByKey

Method getInfoByKey

query/sql/sql_parser.go:1729–1734  ·  view source on GitHub ↗
(mapKey int)

Source from the content-addressed store, hash-verified

1727}
1728
1729func (v *ASTBuilder) getInfoByKey(mapKey int) (qLevel, qType, index int) {
1730 qLevel = mapKey / 1000
1731 qType = (mapKey % 1000) / 100
1732 index = (mapKey % 1000) % 100
1733 return
1734}
1735
1736func (v *ASTBuilder) isValidWithOrSubQuery(s2aCtx *SQL2AqlContext) (bool, error) {
1737 var isTrue, exist bool

Callers 4

VisitTableNameMethod · 0.95
isSameFromTablesMethod · 0.95
isSameGroupByMethod · 0.95
isSameOrderByMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected