org.sql.generation.api.grammar.query
Interface LimitSpecification

All Superinterfaces:
org.atp.api.Typeable<LimitSpecification>

public interface LimitSpecification
extends org.atp.api.Typeable<LimitSpecification>

This syntax element represents the FETCH FIRST <number> ROWS ONLY element of the query. This addition has been defined in SQL 2008 standard.

Author:
2011 Stanislav Muhametsin

Method Summary
 NonBooleanExpression getCount()
          Returns the <number> element in the FETCH FIRST <number> ROWS ONLY expression.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Method Detail

getCount

NonBooleanExpression getCount()
Returns the <number> element in the FETCH FIRST <number> ROWS ONLY expression. Means the maximum amounts of rows to be selected.

Returns:
The maximum amount of rows to be selected. May be null, in which case the behaviour is vendor-specific.


Copyright © 2010-2012. All Rights Reserved.