Teiid 8.3.0.Final

org.teiid.language
Class Limit

java.lang.Object
  extended by org.teiid.language.BaseLanguageObject
      extended by 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)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Limit

public Limit(int offset,
             int rowLimit)
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)

Teiid 8.3.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.