Class ShorthandProjectionSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.dml.item.ShorthandProjectionSegment
-
- All Implemented Interfaces:
ASTNode,ProjectionSegment,AliasAvailable,OwnerAvailable,SQLSegment
public final class ShorthandProjectionSegment extends Object implements ProjectionSegment, OwnerAvailable, AliasAvailable
Shorthand projection segment.
-
-
Constructor Summary
Constructors Constructor Description ShorthandProjectionSegment()
-
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.-
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
-
Methods inherited from interface org.apache.shardingsphere.sql.parser.sql.common.segment.SQLSegment
getStartIndex, getStopIndex
-
-
-
-
Method Detail
-
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
-
-