public enum SQLPagingStrategy extends java.lang.Enum<SQLPagingStrategy> implements ValueEnum
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static SQLPagingStrategy |
valueOf(java.lang.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.
|
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
public static SQLPagingStrategy[] values()
for (SQLPagingStrategy c : SQLPagingStrategy.values()) System.out.println(c);
public static SQLPagingStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null