public class SqlWindowingPagingQueryProvider extends AbstractSqlPagingQueryProvider
Constructor and Description |
---|
SqlWindowingPagingQueryProvider() |
Modifier and Type | Method and Description |
---|---|
protected Object |
extractTableAlias() |
String |
generateFirstPageQuery(int pageSize)
Method generating the query string to be used for retrieving the first
page.
|
String |
generateJumpToItemQuery(int itemIndex,
int pageSize)
Method generating the query string to be used for jumping to a specific
item position.
|
String |
generateRemainingPagesQuery(int pageSize)
Method generating the query string to be used for retrieving the pages
following the first page.
|
protected String |
getOrderedQueryAlias() |
protected String |
getOverClause() |
protected String |
getOverSubstituteClauseEnd() |
protected String |
getOverSubstituteClauseStart() |
protected Object |
getSubQueryAlias() |
getFromClause, getGroupClause, getParameterCount, getSelectClause, getSortKeyPlaceHolder, getSortKeys, getWhereClause, init, isUsingNamedParameters, setFromClause, setGroupClause, setSelectClause, setSortKeys, setWhereClause
public String generateFirstPageQuery(int pageSize)
AbstractSqlPagingQueryProvider
generateFirstPageQuery
in interface PagingQueryProvider
generateFirstPageQuery
in class AbstractSqlPagingQueryProvider
pageSize
- number of rows to read per pageprotected String getOrderedQueryAlias()
protected Object getSubQueryAlias()
protected Object extractTableAlias()
public String generateRemainingPagesQuery(int pageSize)
AbstractSqlPagingQueryProvider
generateRemainingPagesQuery
in interface PagingQueryProvider
generateRemainingPagesQuery
in class AbstractSqlPagingQueryProvider
pageSize
- number of rows to read per pagepublic String generateJumpToItemQuery(int itemIndex, int pageSize)
AbstractSqlPagingQueryProvider
generateJumpToItemQuery
in interface PagingQueryProvider
generateJumpToItemQuery
in class AbstractSqlPagingQueryProvider
itemIndex
- the index of the item to jump topageSize
- number of rows to read per pageprotected String getOverClause()
protected String getOverSubstituteClauseStart()
protected String getOverSubstituteClauseEnd()
Copyright © 2014 Pivotal. All rights reserved.