Package com.alibaba.druid.sql.ast
Class SQLZOrderBy
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLZOrderBy
- All Implemented Interfaces:
SQLObject
,SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorDescriptionSQLZOrderBy
(SQLExpr expr) SQLZOrderBy
(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
setSibings
(boolean sibings) 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
-
SQLZOrderBy
public SQLZOrderBy() -
SQLZOrderBy
-
SQLZOrderBy
-
-
Method Details
-
addItem
-
addItem
-
getItems
-
isSibings
public boolean isSibings() -
setSibings
public void setSibings(boolean sibings) -
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
-