public interface Expand<T extends StructuredType<?>> extends CqnExpand, CqnSelectListItem
alias, asExpand, displayName, isExpand
asInline, asSelectList, isInline, isSelectList, items, prefix
asRef, asValue, isRef, isStar, isValue, ofRef, ofValue, token, unfold
toJson
StructuredTypeRef ref()
CqnEntitySelector
ref
in interface CqnEntitySelector
ref
in interface CqnSelectList
default Expand<T> limit(long top)
top
- the maximum number of entries returned by the expand or -1 if
unlimitedExpand<T> limit(long top, long skip)
top
- the maximum number of entries returned by the expand or -1 if
unlimitedskip
- the number of entries that shall be skippedExpand<T> items(Iterable<? extends Selectable> items)
Expand<T> orderBy(List<CqnSortSpecification> sortSpec)
Expand<T> orderBy(Function<T,CqnSortSpecification> sort)
Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2)
Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3)
Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3, Function<T,CqnSortSpecification> sort4)
Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3, Function<T,CqnSortSpecification> sort4, Function<T,CqnSortSpecification> sort5)
Expand<T> orderBy(Function<T,CqnSortSpecification>... sortSpec)
default Expand<T> orderBy(CqnSortSpecification... sortSpec)
Expand<T> as(String alias)
alias
- the alias, or nulldefault void accept(CqnVisitor visitor)
CqnExpand
CqnExpand expand specification
to a
given visitor.
Neither the ref
nor the items
or the
order by clause
of the expand specification are traversed.accept
in interface CqnExpand
accept
in interface CqnToken
visitor
- the CqnVisitor
Copyright © 2023 SAP. All rights reserved.