Class SubstitutableColumnNameToken
java.lang.Object
org.apache.shardingsphere.infra.rewrite.sql.token.pojo.SQLToken
org.apache.shardingsphere.infra.rewrite.sql.token.pojo.generic.SubstitutableColumnNameToken
- All Implemented Interfaces:
Comparable<SQLToken>,RouteUnitAware,Substitutable
public final class SubstitutableColumnNameToken
extends SQLToken
implements Substitutable, RouteUnitAware
Substitutable column name token.
-
Constructor Summary
ConstructorsConstructorDescriptionSubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections) SubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections, boolean lastColumn) SubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections, org.apache.shardingsphere.sql.parser.sql.common.enums.QuoteCharacter quoteCharacter) -
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, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.rewrite.sql.token.pojo.Substitutable
getStartIndex, getStopIndex
-
Constructor Details
-
SubstitutableColumnNameToken
public SubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections) -
SubstitutableColumnNameToken
public SubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections, boolean lastColumn) -
SubstitutableColumnNameToken
public SubstitutableColumnNameToken(int startIndex, int stopIndex, Collection<org.apache.shardingsphere.infra.binder.segment.select.projection.impl.ColumnProjection> projections, org.apache.shardingsphere.sql.parser.sql.common.enums.QuoteCharacter quoteCharacter)
-
-
Method Details
-
toString
Description copied from interface:RouteUnitAwareTo string.- Specified by:
toStringin interfaceRouteUnitAware- Parameters:
routeUnit- route unit- Returns:
- literal
-