public interface PaginationQuery<F,T>
This interface is not fit for public consumption, as it addresses dealing with underlying database models, something public consumers should never ever be concerned about.
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<F,T> |
getModelConverter() |
List<com.google.common.base.Predicate<F>> |
getPredicates() |
PaginationQuery<F,T> |
withModelConverter(com.google.common.base.Function<F,T> modelConverter)
Specifies the model converter Function that should be applied to results.
|
PaginationQuery<F,T> |
withPredicate(com.google.common.base.Predicate<F> predicate)
Adds a Predicate used to filter the raw database type results.
|
PaginationQuery<F,T> withPredicate(com.google.common.base.Predicate<F> predicate)
NOTE: for now, Predicates *should not* be treated as a Query DSL. These Predicates should only be used to perform filtering of database results that cannot be expressed in a database query proper.
PaginationQuery<F,T> withModelConverter(com.google.common.base.Function<F,T> modelConverter)
Copyright © 2003–2016 Atlassian. All rights reserved.