ALTER SQL_PARSER RULE
语法用于修改解析引擎规则配置
AlterSqlParserRule ::=
'ALTER' 'SQL_PARSER' 'RULE' 'SQL_COMMENT_PARSE_ENABLE' '=' sqlCommentParseEnable ',' 'PARSE_TREE_CACHE' parseTreeCacheDefination ',' 'SQL_STATEMENT_CACHE' sqlStatementCacheDefination
sqlCommentParseEnable ::=
boolean
parseTreeCacheDefination ::=
'(' 'INITIAL_CAPACITY' '=' initialCapacity ',' 'MAXIMUM_SIZE' '=' maximumSize ',' 'CONCURRENCY_LEVEL' '=' concurrencyLevel ')'
sqlStatementCacheDefination ::=
'(' 'INITIAL_CAPACITY' '=' initialCapacity ',' 'MAXIMUM_SIZE' '=' maximumSize ',' 'CONCURRENCY_LEVEL' '=' concurrencyLevel ')'
initialCapacity ::=
int
maximumSize ::=
int
concurrencyLevel ::=
int
SQL_COMMENT_PARSE_ENABLE
:是否解析 SQL 注释
PARSE_TREE_CACHE
:语法树本地缓存配置
SQL_STATEMENT_CACHE
:SQL 语句本地缓存配置项
ALTER SQL_PARSER RULE
SQL_COMMENT_PARSE_ENABLE=false,
PARSE_TREE_CACHE(INITIAL_CAPACITY=10, MAXIMUM_SIZE=11, CONCURRENCY_LEVEL=1),
SQL_STATEMENT_CACHE(INITIAL_CAPACITY=11, MAXIMUM_SIZE=11, CONCURRENCY_LEVEL=100);
ALTER
、SQL_PARSER
、RULE
、SQL_COMMENT_PARSE_ENABLE
、PARSE_TREE_CACHE
、INITIAL_CAPACITY
、MAXIMUM_SIZE
、CONCURRENCY_LEVEL
、SQL_STATEMENT_CACHE