public interface PagingQueryProvider
Modifier and Type | Method and Description |
---|---|
String |
getPageQuery(org.springframework.data.domain.Pageable pageable)
Generate the query that will provide the jump to item query.
|
int |
getParameterCount()
The number of parameters that are declared in the query.
|
Map<String,org.springframework.batch.item.database.Order> |
getSortKeys()
The sort keys.
|
void |
init(DataSource dataSource)
Initialize the query provider using the provided
DataSource if necessary. |
boolean |
isUsingNamedParameters()
Indicate whether the generated queries use named parameter syntax.
|
void init(DataSource dataSource) throws Exception
DataSource
if necessary.int getParameterCount()
boolean isUsingNamedParameters()
Map<String,org.springframework.batch.item.database.Order> getSortKeys()
String getPageQuery(org.springframework.data.domain.Pageable pageable)
pageable
- the coordinates to pull the next page from the datasourceCopyright © 2021 Pivotal Software, Inc.. All rights reserved.