public class SqlWindowingPagingQueryProvider extends AbstractSqlPagingQueryProvider
Constructor and Description |
---|
SqlWindowingPagingQueryProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
extractTableAlias() |
java.lang.String |
generateFirstPageQuery(int pageSize)
Method generating the query string to be used for retrieving the first
page.
|
java.lang.String |
generateJumpToItemQuery(int itemIndex,
int pageSize)
Method generating the query string to be used for jumping to a specific
item position.
|
java.lang.String |
generateRemainingPagesQuery(int pageSize)
Method generating the query string to be used for retrieving the pages
following the first page.
|
protected java.lang.String |
getOrderedQueryAlias() |
protected java.lang.String |
getOverClause() |
protected java.lang.String |
getOverSubstituteClauseEnd() |
protected java.lang.String |
getOverSubstituteClauseStart() |
protected java.lang.Object |
getSubQueryAlias() |
getFromClause, getGroupClause, getParameterCount, getSelectClause, getSortKeyPlaceHolder, getSortKeys, getSortKeysWithoutAliases, getWhereClause, init, isUsingNamedParameters, setFromClause, setGroupClause, setSelectClause, setSortKeys, setWhereClause
public java.lang.String generateFirstPageQuery(int pageSize)
AbstractSqlPagingQueryProvider
generateFirstPageQuery
in interface PagingQueryProvider
generateFirstPageQuery
in class AbstractSqlPagingQueryProvider
pageSize
- number of rows to read per pageprotected java.lang.String getOrderedQueryAlias()
protected java.lang.Object getSubQueryAlias()
protected java.lang.Object extractTableAlias()
public java.lang.String generateRemainingPagesQuery(int pageSize)
AbstractSqlPagingQueryProvider
generateRemainingPagesQuery
in interface PagingQueryProvider
generateRemainingPagesQuery
in class AbstractSqlPagingQueryProvider
pageSize
- number of rows to read per pagepublic java.lang.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 java.lang.String getOverClause()
protected java.lang.String getOverSubstituteClauseStart()
protected java.lang.String getOverSubstituteClauseEnd()