|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SQLPagingStrategy>
com.smartgwt.client.types.SQLPagingStrategy
public enum SQLPagingStrategy
The technique Smart GWT Server's SQL DataSource should use to select a "page" of data from a table.
| Enum Constant Summary | |
|---|---|
DROPONSERVER
Implement the paging behavior by fetching the entire resultset from the database and dropping any unnecessary rows on the server before returning the data to the client. |
|
JDBCSCROLL
Implement the paging behavior by use of the absolute method of the JDBC
ResultSet. |
|
NONE
No paging behavior: we always return the entire resultset to the client. |
|
SQLLIMIT
Specify the paging directly in the SQL query we generate. |
|
| Method Summary | |
|---|---|
String |
getValue()
|
static SQLPagingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SQLPagingStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SQLPagingStrategy SQLLIMIT
public static final SQLPagingStrategy JDBCSCROLL
absolute method of the JDBC
ResultSet.
public static final SQLPagingStrategy DROPONSERVER
public static final SQLPagingStrategy NONE
| Method Detail |
|---|
public static SQLPagingStrategy[] values()
for (SQLPagingStrategy c : SQLPagingStrategy.values()) System.out.println(c);
public static SQLPagingStrategy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||