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 |
Limit(int offset,
int rowLimit)
|
Limit
public Limit(int offset,
int rowLimit)
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)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.