nullDataSourceFactory接口QueueBufferProducerAction.transformer)转换为指定类型插入到阻塞队列中。QueueProducerAction.transformer)转换为指定类型插入到阻塞队列中。true,否则返回falseEmbeddedInitException异常BaseColumnStore.URLParseException异常BaseColumnStore.URLParseException异常
See URLParseChecks.checkURLParse(boolean, String, Object...) for details.select为空则返回nullsql为空或不是SELECT语句不能生成count语句则返回nullProperties提供的参数创建DataSource实例DataSource管理接口DataSource实例DataSourceFactory接口TableManager实例InjectionAttackExceptionDataSourceConfig.databasePropertiesManagers.injectProperties(Map, String)Column没有定义table,且字段名为true/false(不区分大小写)则视为布尔常量input以quote开头和结尾返回true,否则返回falseQueueProducerAction异步执行TableManager.loadByJoinWhereForAction(String, String, Object[], int[], int, int, gu.sql2java.TableManager.Action),
查询的数据记录输出到阻塞队列BlockingQueueQueueProducerAction异步执行TableManager.loadByJoinWhereForAction(String, String, Object[], int[], int, int, gu.sql2java.TableManager.Action),
查询的数据记录输出到阻塞队列BlockingQueue,
与#loadByJoinWhereAsync(TableManager, String, String, Object[], int[], int, QueueProducerAction, AtomicBoolean, Executor)不同是阻塞队列由调用层提供,
基于此创建QueueProducerAction实例QueueProducerAction异步执行TableManager.loadByJoinWhereForAction(String, String, Object[], int[], int, int, gu.sql2java.TableManager.Action),
查询的数据记录输出到阻塞队列BlockingQueue,
与TableManagers.loadByJoinWhereAsync(TableManager, String, String, Object[], int[], int, BlockingQueue, int, AtomicBoolean, Function, Executor)不同的是
阻塞队列BlockingQueue根据输入参数创建TableManager)管理类StatementCache.visitor归一化处理后的SQL语句,
否则将解析异常JSQLParserException封装到RuntimeDaoException抛出SqlSyntaxNormalizer,没有返回nullStatement,
并通过visitor参数提供基于AST(抽象语法树)的遍历所有节点的能力。ParserSupport.SqlParserInfo对象,
否则将解析异常JSQLParserException封装到RuntimeDaoException抛出CCJSqlParserUtil.parseAST(String)和CCJSqlParserUtil.parse(String)实现SQL语句解析,
解析成功则返回解析后的ParserSupport.SqlParserInfo对象,
并通过visitor参数提供基于AST(抽象语法树)的遍历所有节点的能力。Connection.prepareStatement(String, int, int)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String, boolean)方法对SQL语句进行归一化处理和安全检查Connection.prepareStatement(String, int)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String, boolean)方法对SQL语句进行归一化处理和安全检查Connection.prepareStatement(String)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String, boolean)方法对SQL语句进行归一化处理和安全检查TableManager.Action接口QueueBufferProducerAction.rowCount字段都从原对象复制,用于多线程异步查询所需要的action对象构建QueueBufferProducerAction的简化版本,队列类型为数据库原始记录类型TableManager.Action接口QueueProducerAction的简化版本,队列类型为数据库原始记录类型SqlSyntaxNormalizer.changed状态true时跳过继续执行下一个容器false时抛出异常DataSourceFactory接口LoadingCache实现SQL语句解析格式化缓存,提高SQL语句分析的效率BaseTableManager实例代理实现接口 TableManager工具类sqlCopyright © 2022. All Rights Reserved.