Package io.github.fupacat.ast
Class OrderByClause
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.OrderByClause
- All Implemented Interfaces:
Serializable
Represents the order by clause that can be used in statements like select.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue if the ORDER BY ALL shorthand is used, which orders by every column in the select list.The sort order (ASC/DESC) applied to ORDER BY ALL.The items.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
OrderByElements
The items. -
All
public boolean AllTrue if the ORDER BY ALL shorthand is used, which orders by every column in the select list. When true, OrderByElements is empty. -
AllSortOrder
The sort order (ASC/DESC) applied to ORDER BY ALL. Only meaningful when All is true.
-
-
Constructor Details
-
OrderByClause
public OrderByClause()
-
-
Method Details
-
accept
- Specified by:
acceptin classTSqlFragment
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlFragment
-