Class LimitSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.dml.pagination.limit.LimitSegment
-
- All Implemented Interfaces:
ASTNode,SQLSegment
public final class LimitSegment extends Object implements SQLSegment
Limit segment.
-
-
Constructor Summary
Constructors Constructor Description LimitSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<PaginationValueSegment>getOffset()Get offset.Optional<PaginationValueSegment>getRowCount()Get row count.-
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
-
getOffset
public Optional<PaginationValueSegment> getOffset()
Get offset.- Returns:
- offset
-
getRowCount
public Optional<PaginationValueSegment> getRowCount()
Get row count.- Returns:
- row count
-
-