T - type of the query resultC - type of the class implementing this classQ - type of the query modelE - type of the expansion modelpublic interface MetaModelQueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>,Q,E> extends ResourceQuery<T>, QueryDsl<T,C>, MetaModelReferenceExpansionDsl<T,C,E>
MAX_OFFSET, MIN_OFFSET| Modifier and Type | Method and Description |
|---|---|
C |
plusPredicates(Function<Q,QueryPredicate<T>> predicateFunction)
Returns a new instance with the new predicate appended (AND semantics).
|
C |
plusPredicates(List<QueryPredicate<T>> queryPredicates)
Returns a new instance with the new predicate list appended to the existing predicates (AND semantic).
|
C |
plusPredicates(QueryPredicate<T> queryPredicate)
Returns a new instance with the new predicate appended to the existing predicates (AND semantic).
|
C |
plusPredicates(String queryPredicate)
Returns a new instance with the new predicate appended to the existing predicates (AND semantic).
|
C |
plusSort(Function<Q,QuerySort<T>> sortFunction)
Returns a query with the sort expression appended to the existing ones.
|
C |
plusSort(List<QuerySort<T>> sort)
Returns a query with the sort expressions appended to the existing ones.
|
C |
plusSort(QuerySort<T> sort)
Returns a query with the sort expression appended to the existing ones.
|
C |
plusSort(String sort)
Returns a query with the sort expression appended to the existing ones.
|
C |
withPredicates(Function<Q,QueryPredicate<T>> predicateFunction)
Returns a new instance with the new predicate as only predicate.
|
C |
withPredicates(List<QueryPredicate<T>> queryPredicates)
Returns a new instance with the new predicate list as predicates.
|
C |
withPredicates(QueryPredicate<T> queryPredicate)
Returns a new instance with the new predicate as only predicate.
|
C |
withPredicates(String queryPredicate)
Returns a new instance with the new predicate as only predicate.
|
C |
withQueryParam(NameValuePair param) |
C |
withSort(Function<Q,QuerySort<T>> sortFunction)
Returns a query with the new sort as only sort parameter.
|
C |
withSort(List<QuerySort<T>> sort)
Returns a query with the new sort list as only sort parameters.
|
C |
withSort(QuerySort<T> sort)
Returns a query with the new sort as only sort parameter.
|
C |
withSort(String sort)
Returns a query with the new sort as only sort parameter.
|
C |
withSortMulti(Function<Q,List<QuerySort<T>>> sortFunction)
Returns a query with the new sort list as only sort parameters.
|
withFetchTotal, withLimit, withLimit, withOffset, withOffsetendpoint, expansionPaths, fetchTotal, limit, offset, predicates, sortdeserialize, toQuerycanDeserialize, httpRequestIntentplusExpansionPaths, withExpansionPathsplusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPathsC withPredicates(List<QueryPredicate<T>> queryPredicates)
QueryDslwithPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicates - the new predicate listQueryDsl.plusPredicates(List)C withPredicates(QueryPredicate<T> queryPredicate)
QueryDslwithPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicate - the new predicateQueryDsl.plusPredicates(QueryPredicate)C withPredicates(String queryPredicate)
QueryDslwithPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicate - the new predicateQueryDsl.plusPredicates(QueryPredicate)C withPredicates(Function<Q,QueryPredicate<T>> predicateFunction)
predicateFunction - function given a meta model description of the model return a QueryPredicateplusPredicates(Function)C plusPredicates(List<QueryPredicate<T>> queryPredicates)
QueryDslplusPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicates - the new predicate listQueryDsl.withPredicates(List)C plusPredicates(QueryPredicate<T> queryPredicate)
QueryDslplusPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicate - the new predicateQueryDsl.withPredicates(QueryPredicate)C plusPredicates(String queryPredicate)
QueryDslplusPredicates in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>queryPredicate - the new predicateQueryDsl.withPredicates(QueryPredicate)C plusPredicates(Function<Q,QueryPredicate<T>> predicateFunction)
predicateFunction - function given a meta model description of the model return a QueryPredicatewithPredicates(Function)C withSort(List<QuerySort<T>> sort)
QueryDslwithSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - list of sorts how the results of the query should be sortedQueryDsl.plusSort(List)C withSort(QuerySort<T> sort)
QueryDslwithSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - sort expression how the results of the query should be sortedQueryDsl.plusSort(QuerySort)C withSort(String sort)
QueryDslwithSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - sort expression how the results of the query should be sortedQueryDsl.plusSort(QuerySort)C withSort(Function<Q,QuerySort<T>> sortFunction)
sortFunction - function given a meta model description of the model returns a QuerySortplusSort(Function)C withSortMulti(Function<Q,List<QuerySort<T>>> sortFunction)
sortFunction - function given a meta model description of the model returns a list of QuerySortplusSort(List),
withSort(Function)C plusSort(List<QuerySort<T>> sort)
QueryDslplusSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - sort expressions how the results of the query should be sortedQueryDsl.withSort(List)C plusSort(QuerySort<T> sort)
QueryDslplusSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - sort expression how the results of the query should be sortedQueryDsl.withSort(QuerySort)C plusSort(String sort)
QueryDslplusSort in interface QueryDsl<T,C extends MetaModelQueryDsl<T,C,Q,E>>sort - sort expression how the results of the query should be sortedQueryDsl.withSort(QuerySort)C plusSort(Function<Q,QuerySort<T>> sortFunction)
sortFunction - function given a meta model description of the model returns a list of QuerySortwithSort(Function)C withQueryParam(NameValuePair param)