Modifier and Type | Method and Description |
---|---|
static MergeEngine |
MergeEngineFactory.newInstance(ShardingRule shardingRule,
List<QueryResult> queryResults,
SQLStatement sqlStatement)
Create merge engine instance.
|
Modifier and Type | Method and Description |
---|---|
static OptimizeEngine |
OptimizeEngineFactory.newInstance(ShardingRule shardingRule,
SQLStatement sqlStatement,
List<Object> parameters,
GeneratedKey generatedKey)
Create optimize engine instance.
|
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLJudgeEngine.judge()
judge SQL Type only.
|
SQLStatement |
SQLParsingEngine.parse(boolean useCache)
Parse SQL.
|
Modifier and Type | Method and Description |
---|---|
SQLStatement |
ParsingResultCache.getSQLStatement(String sql)
Get SQL statement.
|
Modifier and Type | Method and Description |
---|---|
void |
ParsingResultCache.put(String sql,
SQLStatement sqlStatement)
Put SQL and parsing result into cache.
|
Modifier and Type | Method and Description |
---|---|
String |
LexerEngine.skipParentheses(SQLStatement sqlStatement)
skip all tokens that inside parentheses.
|
Modifier and Type | Method and Description |
---|---|
void |
WhereClauseParser.parse(ShardingRule shardingRule,
SQLStatement sqlStatement,
List<SelectItem> items)
Parse where.
|
void |
TableReferencesClauseParser.parse(SQLStatement sqlStatement,
boolean isSingleTableOnly)
Parse table references.
|
void |
TableReferencesClauseParser.parseSingleTableWithoutAlias(SQLStatement sqlStatement)
Parse single table without alias.
|
protected void |
TableReferencesClauseParser.parseTableFactor(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
protected void |
TableReferencesClauseParser.parseTableReference(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
Modifier and Type | Method and Description |
---|---|
SQLExpression |
BasicExpressionParser.parse(SQLStatement sqlStatement)
Parse expression.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MySQLTableReferencesClauseParser.parseTableReference(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
Modifier and Type | Class and Description |
---|---|
class |
DescribeStatement
Describe statement.
|
class |
ShowColumnsStatement
Show columns statement.
|
class |
ShowCreateTableStatement
Show create table statement.
|
class |
ShowDatabasesStatement
Show databases statement.
|
class |
ShowOtherStatement
Other show statement.
|
class |
ShowTablesStatement
Show tables statement.
|
class |
UseStatement
Use statement.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OracleTableReferencesClauseParser.parseTableReference(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
Modifier and Type | Method and Description |
---|---|
protected void |
PostgreSQLTableReferencesClauseParser.parseTableReference(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLServerTableReferencesClauseParser.parseTableReference(SQLStatement sqlStatement,
boolean isSingleTableOnly) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSQLStatement
SQL statement abstract class.
|
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLParser.parse()
Parse SQL.
|
Modifier and Type | Class and Description |
---|---|
class |
DALStatement
DAL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
DDLStatement
DDL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
DMLStatement
DML statement.
|
Modifier and Type | Class and Description |
---|---|
class |
InsertStatement
Insert statement.
|
Modifier and Type | Class and Description |
---|---|
class |
DQLStatement
DQL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
SelectStatement
Select statement.
|
Modifier and Type | Class and Description |
---|---|
class |
TCLStatement
Transaction Control Language statement.
|
Constructor and Description |
---|
SQLRewriteEngine(ShardingRule shardingRule,
String originalSQL,
DatabaseType databaseType,
SQLStatement sqlStatement,
ShardingConditions shardingConditions,
List<Object> parameters)
Constructs SQL rewrite engine.
|
Modifier and Type | Method and Description |
---|---|
SQLStatement |
DatabaseHintSQLRouter.parse(String logicSQL,
boolean useCache) |
SQLStatement |
ParsingSQLRouter.parse(String logicSQL,
boolean useCache) |
SQLStatement |
ShardingRouter.parse(String logicSQL,
boolean useCache)
Parse SQL.
|
Modifier and Type | Method and Description |
---|---|
SQLRouteResult |
DatabaseHintSQLRouter.route(String logicSQL,
List<Object> parameters,
SQLStatement sqlStatement) |
SQLRouteResult |
ParsingSQLRouter.route(String logicSQL,
List<Object> parameters,
SQLStatement sqlStatement) |
SQLRouteResult |
ShardingRouter.route(String logicSQL,
List<Object> parameters,
SQLStatement sqlStatement)
Route SQL.
|
Modifier and Type | Method and Description |
---|---|
static void |
SQLLogger.logSQL(String logicSQL,
SQLStatement sqlStatement,
Collection<SQLExecutionUnit> sqlExecutionUnits)
Print SQL log.
|
Copyright © 2018. All rights reserved.