org.teiid.connector.language
Interface ILimit

All Superinterfaces:
ILanguageObject

public interface ILimit
extends ILanguageObject

Represents a LIMIT clause with row offset and row limit values to bound the resulting rows

Since:
4.3

Method Summary
 int getRowLimit()
          Get the max number of rows returned by the connector for this query .
 int getRowOffset()
          Gets the offset (relative to the starting row of the produced resultset) of the first row returned by the connector.
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 

Method Detail

getRowLimit

int getRowLimit()
Get the max number of rows returned by the connector for this query .

Returns:
the max number of rows returned by the connector for this query.
Since:
5.0 SP1

getRowOffset

int getRowOffset()
Gets the offset (relative to the starting row of the produced resultset) of the first row returned by the connector. 0 or less indicates no offset.

Returns:
Since:
5.0 SP1


Copyright © 2009. All Rights Reserved.