Class OscarTop
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.dialect.oscar.ast.OscarObjectImpl
com.alibaba.druid.sql.dialect.oscar.ast.OscarTop
- All Implemented Interfaces:
SQLObject,OscarObject
-
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(OscarASTVisitor visitor) clone()getExpr()booleanbooleanvoidsetExpr(int expr) voidvoidsetPercent(boolean percent) voidsetWithTies(boolean withTies) Methods inherited from class com.alibaba.druid.sql.dialect.oscar.ast.OscarObjectImpl
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, 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, output, putAttribute, setParent
-
Constructor Details
-
OscarTop
public OscarTop() -
OscarTop
-
-
Method Details
-
accept0
- Specified by:
accept0in interfaceOscarObject- Specified by:
accept0in classOscarObjectImpl
-
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) -
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-