public abstract class AbstractShadowDMLStatementRouteEngine extends Object implements ShadowRouteEngine
| Constructor and Description |
|---|
AbstractShadowDMLStatementRouteEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> |
getAllTables()
Get all tables.
|
protected abstract Iterator<Optional<ShadowColumnCondition>> |
getShadowColumnConditionIterator()
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, waitshadowRouteDecoratepublic AbstractShadowDMLStatementRouteEngine()
public void route(RouteContext routeContext, ShadowRule shadowRule)
ShadowRouteEngineroute in interface 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()
protected String getSingleTableName()
Copyright © 2022 The Apache Software Foundation. All rights reserved.