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 Iterator<Optional<ShadowColumnCondition>> |
getShadowColumnConditionIterator(String shadowColumn)
Get shadow column condition iterator.
|
protected abstract ShadowOperationType |
getShadowOperationType()
get shadow operation type.
|
protected String |
getSingleTableName()
Get single table tame.
|
protected abstract Optional<Collection<String>> |
parseSQLComments()
Parse SQL Comments.
|
void |
route(RouteContext routeContext,
ShadowRule shadowRule)
Route.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecorateRouteContextpublic void route(RouteContext routeContext, ShadowRule shadowRule)
ShadowRouteEngineroute 在接口中 ShadowRouteEnginerouteContext - route contextshadowRule - shadow ruleprotected abstract Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> getAllTables()
protected abstract ShadowOperationType getShadowOperationType()
protected abstract Optional<Collection<String>> parseSQLComments()
protected abstract Iterator<Optional<ShadowColumnCondition>> getShadowColumnConditionIterator(String shadowColumn)
shadowColumn - shadow columnprotected String getSingleTableName()
Copyright © 2022 The Apache Software Foundation. All rights reserved.