public interface SqlParseProvider<P extends JdbcResponse,S extends com.alibaba.druid.sql.ast.SQLStatement>
| 限定符和类型 | 方法和说明 |
|---|---|
default boolean |
accept(com.alibaba.druid.sql.ast.SQLStatement statement)
判断当前解析器是否可以处理该语句
|
default JdbcRequest |
of(List<S> statement)
sql语句转换为请求体
|
default JdbcRequest |
of(S statement)
sql语句转换为请求体
|
default P |
toResponse(BaseStatement statement,
InputStream contentStream) |
default JdbcRequest of(S statement) throws SQLFeatureNotSupportedException
statement - sql语法快SQLFeatureNotSupportedExceptiondefault JdbcRequest of(List<S> statement) throws SQLFeatureNotSupportedException
statement - sql语法快SQLFeatureNotSupportedExceptiondefault boolean accept(com.alibaba.druid.sql.ast.SQLStatement statement)
statement - 语法块default P toResponse(BaseStatement statement, InputStream contentStream)
Copyright © 2022. All rights reserved.