SQL Parser
Root Configuration
Class:org.apache.shardingsphere.parser.config.SQLParserRuleConfiguration
Attributes:
name | DataType | Description |
---|---|---|
sqlCommentParseEnabled (?) | boolean | Whether to parse SQL comments |
parseTreeCache (?) | CacheOption | Parse syntax tree local cache configuration |
sqlStatementCache (?) | CacheOption | sql statement local cache configuration |
Cache option Configuration
Class:org.apache.shardingsphere.sql.parser.api.CacheOption
Attributes:
name | DataType | Description | Default Value |
---|---|---|---|
initialCapacity | int | Initial capacity of local cache | parser syntax tree local cache default value 128, SQL statement cache default value 2000 |
maximumSize(?) | long | Maximum capacity of local cache | The default value of local cache for parsing syntax tree is 1024, and the default value of sql statement cache is 65535 |
concurrencyLevel | int | Local cache concurrency level, the maximum number of concurrent updates allowed by threads | 4 |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .