Class SqlWindowingPagingQueryProvider
java.lang.Object
org.springframework.batch.item.database.support.AbstractSqlPagingQueryProvider
org.springframework.batch.item.database.support.SqlWindowingPagingQueryProvider
- All Implemented Interfaces:
PagingQueryProvider
@Deprecated(forRemoval=true)
public class SqlWindowingPagingQueryProvider
extends AbstractSqlPagingQueryProvider
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.2.1 with no replacement. Scheduled for removal in 6.0.
Generic Paging Query Provider using standard SQL:2003 windowing functions. These
features are supported by DB2, Oracle, SQL Server 2005, Sybase and Apache Derby version
10.4.1.3
- Since:
- 2.0
- Author:
- Thomas Risberg, Michael Minella
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Deprecated, for removal: This API element is subject to removal in a future version.generateFirstPageQuery
(int pageSize) Deprecated, for removal: This API element is subject to removal in a future version.Method generating the query string to be used for retrieving the first page.generateRemainingPagesQuery
(int pageSize) Deprecated, for removal: This API element is subject to removal in a future version.Method generating the query string to be used for retrieving the pages following the first page.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected Object
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.batch.item.database.support.AbstractSqlPagingQueryProvider
getFromClause, getGroupClause, getParameterCount, getSelectClause, getSortKeyPlaceHolder, getSortKeys, getSortKeysWithoutAliases, getWhereClause, init, isUsingNamedParameters, setFromClause, setGroupClause, setSelectClause, setSortKeys, setWhereClause
-
Constructor Details
-
SqlWindowingPagingQueryProvider
public SqlWindowingPagingQueryProvider()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
generateFirstPageQuery
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractSqlPagingQueryProvider
Method generating the query string to be used for retrieving the first page. This method must be implemented in sub classes.- Specified by:
generateFirstPageQuery
in interfacePagingQueryProvider
- Specified by:
generateFirstPageQuery
in classAbstractSqlPagingQueryProvider
- Parameters:
pageSize
- number of rows to read per page- Returns:
- query string
-
getOrderedQueryAlias
Deprecated, for removal: This API element is subject to removal in a future version. -
getSubQueryAlias
Deprecated, for removal: This API element is subject to removal in a future version. -
extractTableAlias
Deprecated, for removal: This API element is subject to removal in a future version. -
generateRemainingPagesQuery
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractSqlPagingQueryProvider
Method generating the query string to be used for retrieving the pages following the first page. This method must be implemented in sub classes.- Specified by:
generateRemainingPagesQuery
in interfacePagingQueryProvider
- Specified by:
generateRemainingPagesQuery
in classAbstractSqlPagingQueryProvider
- Parameters:
pageSize
- number of rows to read per page- Returns:
- query string
-
getOverClause
Deprecated, for removal: This API element is subject to removal in a future version. -
getOverSubstituteClauseStart
Deprecated, for removal: This API element is subject to removal in a future version. -
getOverSubstituteClauseEnd
Deprecated, for removal: This API element is subject to removal in a future version.
-