Class OwnerToken
java.lang.Object
org.apache.shardingsphere.infra.rewrite.sql.token.pojo.SQLToken
org.apache.shardingsphere.infra.rewrite.sql.token.pojo.generic.OwnerToken
- All Implemented Interfaces:
Comparable<SQLToken>,RouteUnitAware,Substitutable
Owner token.
-
Constructor Summary
ConstructorsConstructorDescriptionOwnerToken(int startIndex, int stopIndex, org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue ownerName, org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue tableName) -
Method Summary
Methods inherited from class org.apache.shardingsphere.infra.rewrite.sql.token.pojo.SQLToken
compareToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.rewrite.sql.token.pojo.Substitutable
getStartIndex, getStopIndex
-
Constructor Details
-
OwnerToken
public OwnerToken(int startIndex, int stopIndex, org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue ownerName, org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue tableName)
-
-
Method Details
-
toString
Description copied from interface:RouteUnitAwareTo string.- Specified by:
toStringin interfaceRouteUnitAware- Parameters:
routeUnit- route unit- Returns:
- literal
-
toString
-