E - the generic type of the entities being queriedpublic class SQLPageHelper<E extends sirius.db.jdbc.SQLEntity> extends BasePageHelper<E,sirius.db.jdbc.constraints.SQLConstraint,sirius.db.jdbc.SmartQuery<E>,SQLPageHelper<E>>
smart queries.baseQuery, ctx, DEFAULT_PAGE_SIZE, facets, pageSize, searchFields| Modifier | Constructor and Description | 
|---|---|
| protected  | SQLPageHelper(sirius.db.jdbc.SmartQuery<E> query) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLPageHelper<E> | addQueryFacet(String name,
             String title,
             Function<sirius.db.jdbc.SmartQuery<E>,sirius.db.jdbc.SQLQuery> queryTransformer)Adds a query based filter which uses the given query to determine which filter items are shown. | 
| static <E extends sirius.db.jdbc.SQLEntity> | withQuery(sirius.db.jdbc.SmartQuery<E> baseQuery)Creates a new instance with the given base query. | 
addBooleanFacet, addFacet, addFacet, addFilterFacet, addTimeFacet, applyFacets, asPage, createTimeFacet, enforcePaging, executeQuery, fillPage, setupPaging, withContext, withPageSize, withSearchFieldsprotected SQLPageHelper(sirius.db.jdbc.SmartQuery<E> query)
public static <E extends sirius.db.jdbc.SQLEntity> SQLPageHelper<E> withQuery(sirius.db.jdbc.SmartQuery<E> baseQuery)
E - the generic entity type being queriedbaseQuery - the initial query to executepublic SQLPageHelper<E> addQueryFacet(String name, String title, Function<sirius.db.jdbc.SmartQuery<E>,sirius.db.jdbc.SQLQuery> queryTransformer)
name - the name of the field to filter ontitle - the title of the filter shown to the userqueryTransformer - used to generate the sub-query which determines which filter values to showCopyright © 2018. All rights reserved.