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 voidacceptVisitor(LanguageObjectVisitor visitor)intgetRowLimit()Get the max number of rows returned.intgetRowOffset()Get the row offset at which to begin returning rows.voidsetRowLimit(int rowLimit)voidsetRowOffset(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)
-
-