public final class SQLStatementCacheBuilder extends Object
| Constructor and Description |
|---|
SQLStatementCacheBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static com.github.benmanes.caffeine.cache.LoadingCache<String,org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> |
build(String databaseType,
org.apache.shardingsphere.sql.parser.api.CacheOption sqlStatementCacheOption,
org.apache.shardingsphere.sql.parser.api.CacheOption parseTreeCacheOption,
boolean isParseComment)
Build SQL statement cache.
|
public static com.github.benmanes.caffeine.cache.LoadingCache<String,org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> build(String databaseType, org.apache.shardingsphere.sql.parser.api.CacheOption sqlStatementCacheOption, org.apache.shardingsphere.sql.parser.api.CacheOption parseTreeCacheOption, boolean isParseComment)
sqlStatementCacheOption - SQL statement cache optionparseTreeCacheOption - parse tree cache optionisParseComment - is parse commentdatabaseType - database typeCopyright © 2023 The Apache Software Foundation. All rights reserved.