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 Stringprotected SQLExprprotected SQLSelectOrderByItem.NullsOrderTypeprotected SQLExprprotected SQLSelectItemprotected SQLOrderingSpecificationFields 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 voidclone()booleangetExpr()getType()inthashCode()booleanbooleanbooleanisSortBy()booleanvoidsetCollate(String collate) voidvoidsetNullsOrderType(SQLSelectOrderByItem.NullsOrderType nullsOrderType) voidsetOpclass(SQLExpr opclass) voidsetResolvedSelectItem(SQLSelectItem resolvedSelectItem) voidMethods 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
-
expr
-
collate
-
opclass
-
type
-
nullsOrderType
-
resolvedSelectItem
-
-
Constructor Details
-
SQLSelectOrderByItem
public SQLSelectOrderByItem() -
SQLSelectOrderByItem
-
SQLSelectOrderByItem
-
-
Method Details
-
getExpr
-
setExpr
-
getCollate
-
setCollate
-
getOpclass
-
setOpclass
-
getType
-
setType
-
getNullsOrderType
-
setNullsOrderType
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
hashCode
public int hashCode() -
equals
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
getResolvedSelectItem
-
setResolvedSelectItem
-
isClusterBy
public boolean isClusterBy() -
isSortBy
public boolean isSortBy() -
isDistributeBy
public boolean isDistributeBy()
-