T
- public class MySqlFilterChain<T extends Model> extends FilterChain<T>
operations
Constructor and Description |
---|
MySqlFilterChain(String table,
FilterChain chain) |
MySqlFilterChain(String table,
String bucket,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkSkipCache(String key) |
Schema |
getSchema() |
protected FilterChain<T> |
newCopy()
Create a copy this filter chain.
|
protected void |
process(int page,
int size,
boolean fetchTotalCount)
Actually applies all filters and sorts to reduce the originalObjects into
a subset of matched objects.
|
all, andAnyOf, andAnyOf, andAnyOf, cloneChainAndAddOperation, column, count, countBy, empty, exclude, exclude, excludeAnyOf, excludeBy, filter, filter, filter, filter, filterBy, filterBy, first, forEach, getBucket, getCached, getExtraCacheKey, getIncludeDeleted, getMatchingCount, getObjects, getOperations, getSortDirection, getSortField, groupBy, includeDeleted, isEmpty, iterator, pager, pager, process, search, setBucket, setCached, setExtraCacheKey, setIncludeDeleted, setMatchingCount, setObjects, setSortDirection, setSortField, sort, sortBy, spliterator
public MySqlFilterChain(String table, String bucket, Class<T> clazz)
public MySqlFilterChain(String table, FilterChain chain)
protected FilterChain<T> newCopy()
FilterChain
newCopy
in class FilterChain<T extends Model>
protected void process(int page, int size, boolean fetchTotalCount)
FilterChain
process
in class FilterChain<T extends Model>
page
- - the page to start from when returning resultssize
- - the number of results per page (the number of results to return)fetchTotalCount
- - hydrate the total matching count field, even if
we are returning a subetpublic boolean checkSkipCache(String key)
checkSkipCache
in class FilterChain<T extends Model>
Copyright © 2016. All rights reserved.