Class Paginated
java.lang.Object
com.github.fabriciofx.cactoos.jdbc.query.Paginated
- All Implemented Interfaces:
Query
,org.cactoos.Text
Paginated query.
- Since:
- 0.8.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
named()
Return a named query string.params()
Return the Query params.prepared
(Connection connection) Create a PreparedStatement.
-
Constructor Details
-
Paginated
Ctor.- Parameters:
qury
- The query that retrieves all elementsmax
- The maximum amount of elements per pageskip
- Skip the first nth elements
-
-
Method Details
-
prepared
Description copied from interface:Query
Create a PreparedStatement. -
params
Description copied from interface:Query
Return the Query params. -
named
Description copied from interface:Query
Return a named query string. -
asString
- Specified by:
asString
in interfaceorg.cactoos.Text
- Throws:
Exception
-