public class JdbcRequest extends Object
| 构造器和说明 |
|---|
JdbcRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getUrl() |
static JdbcRequest |
of(List<com.alibaba.druid.sql.ast.SQLStatement> sqls,
BaseStatement baseStatement)
将sql转换为语法对应的请求信息
|
static JdbcRequest |
of(String sql,
BaseStatement baseStatement)
将sql转换为语法对应的请求信息
|
JdbcResponse |
send() |
static JdbcResponse |
send(String sql,
BaseStatement baseStatement) |
static com.alibaba.druid.sql.ast.SQLStatement |
to(String sql)
sql字符串转换成sql对象
|
public static JdbcResponse send(String sql, BaseStatement baseStatement) throws SQLException, IOException
public static JdbcRequest of(String sql, BaseStatement baseStatement) throws SQLException
sql - sql语句SQLFeatureNotSupportedException - 不支持的sql语法SQLExceptionpublic static JdbcRequest of(List<com.alibaba.druid.sql.ast.SQLStatement> sqls, BaseStatement baseStatement) throws SQLException
sqls - sql语句集合SQLFeatureNotSupportedException - 不支持的sql语法SQLExceptionpublic static com.alibaba.druid.sql.ast.SQLStatement to(String sql)
sql - sql字符串public String getUrl()
public JdbcResponse send() throws IOException, SQLException
Copyright © 2022. All rights reserved.