Class DirectionSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.cursor.DirectionSegment
-
- All Implemented Interfaces:
ASTNode,SQLSegment
public final class DirectionSegment extends Object implements SQLSegment
Direction segment.
-
-
Constructor Summary
Constructors Constructor Description DirectionSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Long>getCount()Get count.Optional<DirectionType>getDirectionType()Get direction type.-
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.SQLSegment
getStartIndex, getStopIndex
-
-
-
-
Method Detail
-
getDirectionType
public Optional<DirectionType> getDirectionType()
Get direction type.- Returns:
- direction type
-
-