public class SqlLimit extends SqlNode
| Constructor and Description |
|---|
SqlLimit(int limit) |
SqlLimit(int limit,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(SqlNodeVisitor<R> visitor)
See
SqlNodeVisitor |
int |
getLimit() |
int |
getOffset() |
SqlNodeType |
getType() |
boolean |
hasOffset() |
void |
setLimit(int limit) |
void |
setOffset(int offset) |
String |
toSimpleSql() |
public SqlLimit(int limit)
public SqlLimit(int limit,
int offset)
public int getLimit()
public int getOffset()
public boolean hasOffset()
public void setLimit(int limit)
public void setOffset(int offset)
public String toSimpleSql()
public SqlNodeType getType()
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
SqlNodeSqlNodeVisitoraccept in class SqlNodeR - generic SqlNodeVisitor typevisitor - The visitor object on which the appropriate visit(sqlNode) method is calledAdapterException - can be thrownCopyright © 2019. All rights reserved.