T - type of the query resultC - type of the class implementing this classQ - type of the query modelE - type of the expansion modelpublic final class MetaModelQueryDslBuilder<T,C extends MetaModelQueryDsl<T,C,Q,E>,Q,E> extends Base implements Builder<C>
| Modifier and Type | Field and Description |
|---|---|
protected List<NameValuePair> |
additionalHttpQueryParameters |
protected String |
endpoint |
protected E |
expansionModel |
protected List<ExpansionPath<T>> |
expansionPaths |
protected Long |
limit |
protected Long |
offset |
protected List<QueryPredicate<T>> |
predicate |
protected Function<MetaModelQueryDslBuilder<T,C,Q,E>,C> |
queryDslBuilderFunction |
protected Q |
queryModel |
protected Function<HttpResponse,PagedQueryResult<T>> |
resultMapper |
protected List<QuerySort<T>> |
sort |
protected Boolean |
withTotal |
| Modifier | Constructor and Description |
|---|---|
protected |
MetaModelQueryDslBuilder(MetaModelQueryDslImpl<T,C,Q,E> template) |
| Modifier and Type | Method and Description |
|---|---|
MetaModelQueryDslBuilder<T,C,Q,E> |
additionalHttpQueryParameters(List<NameValuePair> additionalQueryParameters) |
C |
build()
Creates a new instance of T with the values of this builder.
|
MetaModelQueryDslBuilder<T,C,Q,E> |
expansionPaths(List<ExpansionPath<T>> expansionPaths) |
MetaModelQueryDslBuilder<T,C,Q,E> |
fetchTotal(Boolean fetchTotal) |
MetaModelQueryDslBuilder<T,C,Q,E> |
limit(Long limit) |
MetaModelQueryDslBuilder<T,C,Q,E> |
offset(Long offset) |
MetaModelQueryDslBuilder<T,C,Q,E> |
predicates(List<QueryPredicate<T>> predicate) |
MetaModelQueryDslBuilder<T,C,Q,E> |
sort(List<QuerySort<T>> sort) |
protected List<QueryPredicate<T>> predicate
protected List<ExpansionPath<T>> expansionPaths
protected List<NameValuePair> additionalHttpQueryParameters
protected final String endpoint
protected final Function<HttpResponse,PagedQueryResult<T>> resultMapper
protected final Q queryModel
protected final E expansionModel
protected MetaModelQueryDslBuilder(MetaModelQueryDslImpl<T,C,Q,E> template)
public MetaModelQueryDslBuilder<T,C,Q,E> predicates(List<QueryPredicate<T>> predicate)
public MetaModelQueryDslBuilder<T,C,Q,E> expansionPaths(List<ExpansionPath<T>> expansionPaths)
public MetaModelQueryDslBuilder<T,C,Q,E> additionalHttpQueryParameters(List<NameValuePair> additionalQueryParameters)