Package | Description |
---|---|
sf.database.dao | |
sf.database.jdbc.sql |
Modifier and Type | Method and Description |
---|---|
<T> Page<T> |
DBMethod.selectPageRaw(long start,
int limit,
Class<T> beanClass,
String countSql,
Object[] countParas,
String listSql,
Object[] listParas,
PageStrategy strategy)
最原始的分页方法,假分页实现,使用result跳过数据,实现
|
<T> Page<T> |
DBClient.selectPageRaw(long start,
int limit,
Class<T> beanClass,
String countSql,
Object[] countParas,
String listSql,
Object[] listParas,
PageStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
static PageStrategy |
PageStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageStrategy[] |
PageStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T> Page<T> |
CrudModelInf.selectPage(Connection conn,
long start,
int limit,
Class<T> beanClass,
SQLContext context,
PageStrategy strategy) |
<T> Page<T> |
CrudModelImpl.selectPage(Connection conn,
long start,
int limit,
Class<T> beanClass,
SQLContext context,
PageStrategy strategy) |
<T> Page<T> |
CrudSqlInf.selectPageRaw(Connection conn,
long start,
int limit,
Class<T> beanClass,
String countSql,
Object[] countParas,
String listSql,
Object[] listParas,
PageStrategy strategy)
最原始的分页方法,假分页实现,使用result跳过数据,实现
|
<T> Page<T> |
CrudSqlImpl.selectPageRaw(Connection conn,
long start,
int limit,
Class<T> beanClass,
String countSql,
Object[] countParas,
String listSql,
Object[] listParas,
PageStrategy strategy) |
Copyright © 2020. All rights reserved.