Class SQLSelectOrderByItem
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLSelectOrderByItem
- All Implemented Interfaces:
SQLObject
,SQLReplaceable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected SQLExpr
protected SQLSelectOrderByItem.NullsOrderType
protected SQLSelectItem
protected SQLOrderingSpecification
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorsConstructorDescriptionSQLSelectOrderByItem
(SQLExpr expr) SQLSelectOrderByItem
(SQLExpr expr, SQLOrderingSpecification type) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
clone()
boolean
getExpr()
getType()
int
hashCode()
boolean
boolean
boolean
isSortBy()
boolean
void
setCollate
(String collate) void
void
setNullsOrderType
(SQLSelectOrderByItem.NullsOrderType nullsOrderType) void
setResolvedSelectItem
(SQLSelectItem resolvedSelectItem) void
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
-
expr
-
collate
-
type
-
nullsOrderType
-
resolvedSelectItem
-
-
Constructor Details
-
SQLSelectOrderByItem
public SQLSelectOrderByItem() -
SQLSelectOrderByItem
-
SQLSelectOrderByItem
-
-
Method Details
-
getExpr
-
setExpr
-
getCollate
-
setCollate
-
getType
-
setType
-
getNullsOrderType
-
setNullsOrderType
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
hashCode
public int hashCode() -
equals
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
-
clone
- Specified by:
clone
in interfaceSQLObject
- Overrides:
clone
in classSQLObjectImpl
-
getResolvedSelectItem
-
setResolvedSelectItem
-
isClusterBy
public boolean isClusterBy() -
isSortBy
public boolean isSortBy() -
isDistributeBy
public boolean isDistributeBy()
-