Package com.exasol.adapter.sql
Class SqlLimit
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlLimit
-
public class SqlLimit extends SqlNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(SqlNodeVisitor<R> visitor)
SeeSqlNodeVisitor
int
getLimit()
int
getOffset()
SqlNodeType
getType()
boolean
hasOffset()
void
setLimit(int limit)
void
setOffset(int offset)
-
-
-
Method Detail
-
getLimit
public int getLimit()
-
getOffset
public int getOffset()
-
hasOffset
public boolean hasOffset()
-
setLimit
public void setLimit(int limit)
-
setOffset
public void setOffset(int offset)
-
getType
public SqlNodeType getType()
-
accept
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
Description copied from class:SqlNode
SeeSqlNodeVisitor
- Specified by:
accept
in classSqlNode
- Type Parameters:
R
- generic SqlNodeVisitor type- Parameters:
visitor
- The visitor object on which the appropriate visit(sqlNode) method is called- Returns:
- visited object
- Throws:
AdapterException
- can be thrown
-
-