Class PageJdbcHelper
-
- All Implemented Interfaces:
public class PageJdbcHelperPagination Util for jdbc and jooq. * total < 0 - run count, run select * total = 0 - no count, no select * total > 0 - no count, run select- Since:
2020-09-30
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPageJdbcHelper.CountJdbcpublic classPageJdbcHelper.BindJdbc1public classPageJdbcHelper.BindJdbc2public classPageJdbcHelper.FetchJdbc1public classPageJdbcHelper.IntoJdbc1public classPageJdbcHelper.IntoJdbc2public classPageJdbcHelper.FromJdbcpublic classPageJdbcHelper.OrderJdbc1public classPageJdbcHelper.OrderJdbc2
-
Constructor Summary
Constructors Constructor Description PageJdbcHelper()
-
Method Summary
Modifier and Type Method Description static PageJdbcHelper.CountJdbcuse(JdbcTemplate tpl, PageQuery page)static PageJdbcHelper.CountJdbcuse(JdbcTemplate tpl, PageQuery page, int total)Page query by jdbc -
-
Method Detail
-
use
@NotNull() static PageJdbcHelper.CountJdbc use(JdbcTemplate tpl, PageQuery page)
-
use
@NotNull() static PageJdbcHelper.CountJdbc use(JdbcTemplate tpl, PageQuery page, int total)
Page query by jdbc
- Parameters:
tpl- jdbc templatepage- query infototal- the count cached in service level
-
-
-
-