Class TextOrderByItemSegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.TextOrderByItemSegment
-
- All Implemented Interfaces:
ASTNode,SQLSegment
- Direct Known Subclasses:
ColumnOrderByItemSegment,ExpressionOrderByItemSegment
public abstract class TextOrderByItemSegment extends OrderByItemSegment
Order by item segment for text.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextOrderByItemSegment(int startIndex, int stopIndex, OrderDirection orderDirection, NullsOrderType nullsOrderType)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetText()Get text.-
Methods inherited from class org.apache.shardingsphere.sql.parser.sql.common.segment.dml.order.item.OrderByItemSegment
getNullsOrderType, getNullsOrderType
-
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
-
-
-
-
Constructor Detail
-
TextOrderByItemSegment
protected TextOrderByItemSegment(int startIndex, int stopIndex, OrderDirection orderDirection, NullsOrderType nullsOrderType)
-
-
Method Detail
-
getText
public abstract String getText()
Get text.- Returns:
- text
-
-