public abstract class BaseMySQLRecognizer extends BaseRecognizer
BaseRecognizer.VMarkeroriginalSQL| Constructor and Description |
|---|
BaseMySQLRecognizer(String originalSql)
Instantiates a new mysql base recognizer
|
| Modifier and Type | Method and Description |
|---|---|
com.alibaba.druid.sql.dialect.mysql.visitor.MySqlOutputVisitor |
createOutputVisitor(ParametersHolder parametersHolder,
ArrayList<List<Object>> paramAppenderList,
StringBuilder sb) |
String |
getDbType() |
protected String |
getJoinCondition(com.alibaba.druid.sql.ast.SQLExpr joinCondition,
ParametersHolder parametersHolder,
ArrayList<List<Object>> paramAppenderList) |
protected String |
getLimitCondition(com.alibaba.druid.sql.ast.SQLLimit sqlLimit) |
protected String |
getLimitCondition(com.alibaba.druid.sql.ast.SQLLimit sqlLimit,
ParametersHolder parametersHolder,
ArrayList<List<Object>> paramAppenderList) |
protected String |
getOrderByCondition(com.alibaba.druid.sql.ast.SQLOrderBy sqlOrderBy) |
protected String |
getOrderByCondition(com.alibaba.druid.sql.ast.SQLOrderBy sqlOrderBy,
ParametersHolder parametersHolder,
ArrayList<List<Object>> paramAppenderList) |
String |
getWhereCondition(com.alibaba.druid.sql.ast.SQLExpr where) |
String |
getWhereCondition(com.alibaba.druid.sql.ast.SQLExpr where,
ParametersHolder parametersHolder,
ArrayList<List<Object>> paramAppenderList) |
executeLimit, executeOrderBy, executeVisit, getAst, getOriginalSQL, isSqlSyntaxSupports, wrapSQLParsingExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSQLType, getTableAlias, getTableNamepublic BaseMySQLRecognizer(String originalSql)
originalSql - the original sqlpublic com.alibaba.druid.sql.dialect.mysql.visitor.MySqlOutputVisitor createOutputVisitor(ParametersHolder parametersHolder, ArrayList<List<Object>> paramAppenderList, StringBuilder sb)
public String getWhereCondition(com.alibaba.druid.sql.ast.SQLExpr where, ParametersHolder parametersHolder, ArrayList<List<Object>> paramAppenderList)
public String getWhereCondition(com.alibaba.druid.sql.ast.SQLExpr where)
protected String getLimitCondition(com.alibaba.druid.sql.ast.SQLLimit sqlLimit)
protected String getLimitCondition(com.alibaba.druid.sql.ast.SQLLimit sqlLimit, ParametersHolder parametersHolder, ArrayList<List<Object>> paramAppenderList)
protected String getOrderByCondition(com.alibaba.druid.sql.ast.SQLOrderBy sqlOrderBy)
protected String getOrderByCondition(com.alibaba.druid.sql.ast.SQLOrderBy sqlOrderBy, ParametersHolder parametersHolder, ArrayList<List<Object>> paramAppenderList)
protected String getJoinCondition(com.alibaba.druid.sql.ast.SQLExpr joinCondition, ParametersHolder parametersHolder, ArrayList<List<Object>> paramAppenderList)
public String getDbType()
Copyright © 2022 Seata. All rights reserved.