Class SimpleTableSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment
-
- All Implemented Interfaces:
ASTNode,AliasAvailable,OwnerAvailable,TableSegment,SQLSegment
public final class SimpleTableSegment extends Object implements TableSegment, OwnerAvailable
Simple table segment.
-
-
Constructor Summary
Constructors Constructor Description SimpleTableSegment()
-
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.Optional<OwnerSegment>getOwner()Get owner.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
-
Methods inherited from interface org.apache.shardingsphere.sql.parser.sql.common.segment.generic.OwnerAvailable
setOwner
-
-
-
-
Method Detail
-
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
-
getOwner
public Optional<OwnerSegment> getOwner()
Description copied from interface:OwnerAvailableGet owner.- Specified by:
getOwnerin interfaceOwnerAvailable- Returns:
- owner
-
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
-
-