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 |
---|---|
default PaginationQuery<F,T> |
createWithModelConverter(Function<F,T> modelConverter)
Specifies the model converter Function that should be applied to results.
|
default PaginationQuery<F,T> |
createWithPredicate(Predicate<F> predicate)
Adds a Predicate used to filter the raw database type results.
|
com.google.common.base.Function<F,T> |
getModelConverter()
Deprecated.
since 7.0.1. Use
modelConverter() |
List<com.google.common.base.Predicate<F>> |
getPredicates()
Deprecated.
since 7.0.1. Use
predicates() |
default Function<F,T> |
modelConverter() |
default List<Predicate<F>> |
predicates() |
PaginationQuery<F,T> |
withModelConverter(com.google.common.base.Function<F,T> modelConverter)
Deprecated.
since 7.0.1. Use
createWithModelConverter(Function) |
PaginationQuery<F,T> |
withPredicate(com.google.common.base.Predicate<F> predicate)
Deprecated.
since 7.0.1. Use
createWithPredicate(Predicate) |
@Deprecated PaginationQuery<F,T> withPredicate(com.google.common.base.Predicate<F> predicate)
createWithPredicate(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.
default PaginationQuery<F,T> createWithPredicate(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.
@Deprecated PaginationQuery<F,T> withModelConverter(com.google.common.base.Function<F,T> modelConverter)
createWithModelConverter(Function)
default PaginationQuery<F,T> createWithModelConverter(Function<F,T> modelConverter)
@Deprecated List<com.google.common.base.Predicate<F>> getPredicates()
predicates()
@Deprecated com.google.common.base.Function<F,T> getModelConverter()
modelConverter()
Copyright © 2003–2020 Atlassian. All rights reserved.