Package com.alibaba.druid.sql.ast
Class SQLLimit
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLLimit
- All Implemented Interfaces:
SQLObject,SQLReplaceable
Created by wenshao on 16/9/25.
-
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 voidaccept0(SQLASTVisitor visitor) voidclone()booleangetBy()inthashCode()voidbooleanvoidsetOffset(int offset) voidvoidsetRowCount(int rowCount) voidsetRowCount(SQLExpr rowCount) Methods 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, toString
-
Constructor Details
-
SQLLimit
public SQLLimit() -
SQLLimit
public SQLLimit(int rowCount) -
SQLLimit
-
SQLLimit
-
-
Method Details
-
getRowCount
-
setRowCount
-
setRowCount
public void setRowCount(int rowCount) -
getOffset
-
setOffset
public void setOffset(int offset) -
setOffset
-
merge
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
addBy
-
getBy
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
equals
-
hashCode
public int hashCode()
-