Class OrderByElement
java.lang.Object
net.sf.jsqlparser.statement.select.OrderByElement
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private Expression
private boolean
private OrderByElement.NullOrdering
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(OrderByVisitor orderByVisitor) <E extends Expression>
EgetExpression
(Class<E> type) boolean
isAsc()
boolean
boolean
void
setAsc
(boolean asc) void
setAscDescPresent
(boolean ascDescPresent) void
setExpression
(Expression expression) setMysqlWithRollup
(boolean mysqlWithRollup) void
setNullOrdering
(OrderByElement.NullOrdering nullOrdering) toString()
withAsc
(boolean asc) withAscDescPresent
(boolean ascDescPresent) withExpression
(Expression expression) withNullOrdering
(OrderByElement.NullOrdering nullOrdering)
-
Field Details
-
expression
-
mysqlWithRollup
private boolean mysqlWithRollup -
asc
private boolean asc -
ascDescPresent
private boolean ascDescPresent -
nullOrdering
-
-
Constructor Details
-
OrderByElement
public OrderByElement()
-
-
Method Details
-
isAsc
public boolean isAsc() -
getNullOrdering
-
setNullOrdering
-
setAsc
public void setAsc(boolean asc) -
setAscDescPresent
public void setAscDescPresent(boolean ascDescPresent) -
isAscDescPresent
public boolean isAscDescPresent() -
accept
-
getExpression
-
setExpression
-
toString
-
withExpression
-
withAsc
-
withAscDescPresent
-
withNullOrdering
-
getExpression
-
isMysqlWithRollup
public boolean isMysqlWithRollup() -
setMysqlWithRollup
-