public abstract class AbstractShadowDMLStatementRouteEngine extends Object implements ShadowRouteEngine
| 构造器和说明 |
|---|
AbstractShadowDMLStatementRouteEngine() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> |
getAllTables()
Get all tables.
|
protected abstract ShadowOperationType |
getShadowOperationType()
get shadow operation type.
|
protected String |
getSingleTableName()
Get single table tame.
|
protected abstract Optional<Collection<ShadowColumnCondition>> |
parseShadowColumnConditions()
Parse shadow column conditions.
|
protected abstract Optional<Collection<String>> |
parseSqlNotes()
Parse sql notes.
|
void |
route(RouteContext routeContext,
ShadowRule shadowRule)
Route.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshadowRouteDecoratepublic void route(RouteContext routeContext, ShadowRule shadowRule)
ShadowRouteEngineroute 在接口中 ShadowRouteEnginerouteContext - route contextshadowRule - shadow ruleprotected abstract Optional<Collection<ShadowColumnCondition>> parseShadowColumnConditions()
protected abstract Optional<Collection<String>> parseSqlNotes()
protected abstract ShadowOperationType getShadowOperationType()
protected abstract Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> getAllTables()
protected String getSingleTableName()
Copyright © 2021 The Apache Software Foundation. All rights reserved.