MCPcopy Create free account
hub / github.com/MyCATApache/SQLparser / SQLParser

Class SQLParser

src/main/java/io/mycat/mycat2/sqlparser/SQLParser.java:13–933  ·  view source on GitHub ↗

Created by Kaiz on 2017/1/22. 考虑设计:1. 第一遍生成 a. sql类型; b. 表名列表; c. 库名列表; d. sql/表名/库名hash值; e. 所有节点位置数组 2. 第二遍生成 a. 查询和子查询之间的关联; b. 查询字段和表之间的关联; c. 获取where判断条件 2017/2/12 优化前效率 SQLBenchmark.SQLParserTest thrpt 10 1290172.064 ± 36612.015 ops/s 添加 reader 后:SQLBenchmark.SQLParserTest thrpt 10 12

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected