Package org.teiid.language
Class Limit
- java.lang.Object
-
- org.teiid.language.BaseLanguageObject
-
- org.teiid.language.Limit
-
- All Implemented Interfaces:
LanguageObject
public class Limit extends BaseLanguageObject
Represents a LIMIT clause with row offset and row limit values to bound the resulting rows
-
-
Constructor Summary
Constructors Constructor Description Limit(int offset, int rowLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageObjectVisitor visitor)
int
getRowLimit()
Get the max number of rows returned.int
getRowOffset()
Get the row offset at which to begin returning rows.void
setRowLimit(int rowLimit)
void
setRowOffset(int rowOffset)
-
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
-
-
-
-
Method Detail
-
getRowLimit
public int getRowLimit()
Get the max number of rows returned.
-
getRowOffset
public int getRowOffset()
Get the row offset at which to begin returning rows.
-
setRowLimit
public void setRowLimit(int rowLimit)
-
setRowOffset
public void setRowOffset(int rowOffset)
-
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
-
-