Class SqlPages<T>
java.lang.Object
com.github.fabriciofx.cactoos.jdbc.pagination.SqlPages<T>
- Type Parameters:
T
- Type of the page's content
- All Implemented Interfaces:
Pages<T>
SqlPages.
There is no thread-safety guarantee.
- Since:
- 0.8.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SqlPages
Ctor.- Parameters:
session
- A Sessioncount
- A query that retrieve the total count of elements.all
- A query tha retrieve all elements.adapter
- An adapterlimit
- The maximum amount of elements per page.
-
-
Method Details