Class SQLSelectOrderByItem
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.statement.SQLSelectOrderByItem
- All Implemented Interfaces:
SQLExpr,SQLObject,SQLReplaceable,Cloneable
-
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.SQLExprImpl
parenthesized, parenthesizedCountFields 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.SQLExprImpl
cloneTo, computeDataType, getChildren, getParenthesizedCount, increaseParenthesizedCount, isParenthesized, setParenthesized, setParenthesizedCountMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
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()- Specified by:
hashCodein classSQLExprImpl
-
equals
- Specified by:
equalsin classSQLExprImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
clone
-
getResolvedSelectItem
-
setResolvedSelectItem
-
isClusterBy
public boolean isClusterBy() -
isSortBy
public boolean isSortBy() -
isDistributeBy
public boolean isDistributeBy()
-