Class SQLServerTop
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerObjectImpl
com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerTop
- All Implemented Interfaces:
SQLObject,SQLServerObject,TransactSQLObject
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(SQLServerASTVisitor visitor) clone()getExpr()booleanbooleanvoidsetExpr(int expr) voidvoidsetPercent(boolean percent) voidsetWithTies(boolean withTies) Methods inherited from class com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerObjectImpl
accept0Methods 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, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
Constructor Details
-
SQLServerTop
public SQLServerTop() -
SQLServerTop
-
-
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) -
accept0
- Specified by:
accept0in interfaceSQLServerObject- Specified by:
accept0in classSQLServerObjectImpl
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-