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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
clone()
boolean
getBy()
int
hashCode()
void
boolean
void
setOffset
(int offset) void
void
setRowCount
(int rowCount) void
setRowCount
(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:
accept0
in classSQLObjectImpl
-
clone
- Specified by:
clone
in interfaceSQLObject
- Overrides:
clone
in classSQLObjectImpl
-
addBy
-
getBy
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
-
equals
-
hashCode
public int hashCode()
-