Class SubqueryTableSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SubqueryTableSegment
-
- All Implemented Interfaces:
ASTNode,AliasAvailable,TableSegment,SQLSegment
public final class SubqueryTableSegment extends Object implements TableSegment
Subquery table segment.
-
-
Constructor Summary
Constructors Constructor Description SubqueryTableSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AliasSegment>getAlias()Get alias segment.Optional<String>getAliasName()Get alias name.intgetStartIndex()Get start index.intgetStopIndex()Get stop index.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.shardingsphere.sql.parser.sql.common.segment.generic.AliasAvailable
setAlias
-
-
-
-
Method Detail
-
getAliasName
public Optional<String> getAliasName()
Description copied from interface:AliasAvailableGet alias name.- Specified by:
getAliasNamein interfaceAliasAvailable- Returns:
- alias name
-
getAlias
public Optional<AliasSegment> getAlias()
Description copied from interface:AliasAvailableGet alias segment.- Specified by:
getAliasin interfaceAliasAvailable- Returns:
- alias segment
-
getStartIndex
public int getStartIndex()
Description copied from interface:SQLSegmentGet start index.- Specified by:
getStartIndexin interfaceSQLSegment- Returns:
- start index
-
getStopIndex
public int getStopIndex()
Description copied from interface:SQLSegmentGet stop index.- Specified by:
getStopIndexin interfaceSQLSegment- Returns:
- stop index
-
-