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
FieldsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLOrderBy(SQLExpr expr) SQLOrderBy(SQLExpr expr, SQLOrderingSpecification type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidvoidaddItem(SQLExpr expr, SQLOrderingSpecification type) voidaddItem(SQLSelectOrderByItem item) clone()protected SQLSelectOrderByItembooleangetItems()inthashCode()booleanbooleanvoidsetSiblings(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, 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:
accept0in classSQLObjectImpl
-
equals
-
hashCode
public int hashCode() -
addItem
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
createItem
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-