|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLClause
|
+--com.jdc.rdb.sql.dml.DMLClause
|
+--com.jdc.rdb.sql.dml.clause.Limit
Limit represents a Select,
Update, or Delete
statement LIMIT clause. The optional LIMIT clause
specifies the maximum number of Table rows for the specified
SQL statement.
SQL statement clause is not compatible with the
ANSI SQL-92 standard.
Select,
Update,
Delete,
Serialized Form| Field Summary |
| Fields inherited from class com.jdc.rdb.sql.dml.DMLClause |
sqlClause |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
Limit()
Constructs a new Limit clause object. |
|
Limit(int rows)
Constructs a new Limit clause object for the specified
maximum number of Table rows. |
|
| Method Summary | |
String |
getKeyword()
Returns the Limit clause keyword. |
String |
getValue()
Returns the Limit clause value. |
Limit |
setMaximumRows(int rows)
Specifies the maximum number of Table rows for the
specified SQL statement. |
String |
toString()
Returns a String representation of this Limit clause. |
| Methods inherited from class com.jdc.rdb.sql.dml.DMLClause |
getKeyword |
| Methods inherited from class com.jdc.rdb.sql.SQLClause |
contains, setKeyword, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Limit()
Limit clause object.
public Limit(int rows)
Limit clause object for the specified
maximum number of Table rows.
SQLInvalidException - The maximum rows specified is less than
or equal to 0.setMaximumRows(int)| Method Detail |
public String getKeyword()
Limit clause keyword.
getKeyword in class SQLClauseLimit clause keyword.public String getValue()
Limit clause value.
getValue in class SQLClauseLimit clause value.public Limit setMaximumRows(int rows)
Table rows for the
specified SQL statement.
Limit clause object.
SQLInvalidException - The maximum rows specified is less than
or equal to 0.public String toString()
String representation of this Limit clause.
toString in interface SelectClausetoString in class SQLClauseString representation of this Limit clause.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||