Package com.alibaba.druid.sql.ast
Class SQLOrderBy
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLOrderBy
- All Implemented Interfaces:
SQLObject
,SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorDescriptionSQLOrderBy
(SQLExpr expr) SQLOrderBy
(SQLExpr expr, SQLOrderingSpecification type) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
void
addItem
(SQLExpr expr, SQLOrderingSpecification type) void
addItem
(SQLSelectOrderByItem item) clone()
protected SQLSelectOrderByItem
boolean
getItems()
int
hashCode()
boolean
boolean
void
setSiblings
(boolean siblings) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
-
Field Details
-
items
-
-
Constructor Details
-
SQLOrderBy
public SQLOrderBy() -
SQLOrderBy
-
SQLOrderBy
-
-
Method Details
-
addItem
-
addItem
-
getItems
-
isSiblings
public boolean isSiblings() -
setSiblings
public void setSiblings(boolean siblings) -
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
equals
-
hashCode
public int hashCode() -
addItem
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
-
createItem
-
clone
- Specified by:
clone
in interfaceSQLObject
- Overrides:
clone
in classSQLObjectImpl
-