Package com.alibaba.druid.sql.ast
Class SQLTop
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLTop
- All Implemented Interfaces:
SQLObject,SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclone()getExpr()booleanbooleanbooleanbooleanvoidsetExpr(int expr) voidvoidsetParentheses(boolean parentheses) voidsetPercent(boolean percent) voidsetWithTies(boolean withTies) 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, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Constructor Details
-
SQLTop
public SQLTop() -
SQLTop
-
-
Method Details
-
getExpr
-
setExpr
-
setExpr
public void setExpr(int expr) -
isPercent
public boolean isPercent() -
setPercent
public void setPercent(boolean percent) -
isWithTies
public boolean isWithTies() -
setWithTies
public void setWithTies(boolean withTies) -
isParentheses
public boolean isParentheses() -
setParentheses
public void setParentheses(boolean parentheses) -
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-