@FunctionalInterface public static interface PagingJdbcIterable.PagingStatementSupplier
PreparedStatement that pages results through the given
offset and maxSize, ready to be executed.| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
apply(Connection connection,
int offset,
int maxSize)
Create a new
PreparedStatement using the given connection, paging through the provided
offset and maxSize. |
PreparedStatement apply(Connection connection, int offset, int maxSize) throws SQLException
PreparedStatement using the given connection, paging through the provided
offset and maxSize.connection - The connection that will be used to create the PreparedStatement.offset - The offset from where to start the page.maxSize - The maximum size of the page, resulting in the maximum page size.PreparedStatement ready for execution.SQLException - When the statement could not be created.Copyright © 2010–2025. All rights reserved.