The SQL parser YAML configuration is readable and easy to use. The YAML files allow you to separate the code from the configuration, and easily modify the configuration file as needed.
rules:
- !SQL_PARSER
sqlCommentParseEnabled: # Whether to parse SQL comments
sqlStatementCache: # SQL statement local cache
initialCapacity: # Initial capacity of local cache
maximumSize: # Maximum capacity of local cache
parseTreeCache: # Parse tree local cache
initialCapacity: # Initial capacity of local cache
maximumSize: # Maximum capacity of local cache
rules:
- !SQL_PARSER
sqlCommentParseEnabled: true
sqlStatementCache:
initialCapacity: 2000
maximumSize: 65535
parseTreeCache:
initialCapacity: 128
maximumSize: 1024