Package com.alibaba.druid.sql.ast
Class SQLKeep
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLKeep
-
- All Implemented Interfaces:
SQLObject
public final class SQLKeep extends SQLObjectImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSQLKeep.DenseRank
-
Field Summary
Fields Modifier and Type Field Description protected SQLKeep.DenseRankdenseRankprotected SQLOrderByorderBy-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLKeep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLKeepclone()SQLKeep.DenseRankgetDenseRank()SQLOrderBygetOrderBy()voidsetDenseRank(SQLKeep.DenseRank denseRank)voidsetOrderBy(SQLOrderBy orderBy)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Field Detail
-
denseRank
protected SQLKeep.DenseRank denseRank
-
orderBy
protected SQLOrderBy orderBy
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
getDenseRank
public SQLKeep.DenseRank getDenseRank()
-
setDenseRank
public void setDenseRank(SQLKeep.DenseRank denseRank)
-
getOrderBy
public SQLOrderBy getOrderBy()
-
setOrderBy
public void setOrderBy(SQLOrderBy orderBy)
-
clone
public SQLKeep clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
-