public class ExpandBuilder<T extends StructuredType<T>> extends SelectList implements Expand<T>
SelectList.Type
create, isExpand, isInline, items, ref, toString, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asInline, asSelectList, isInline, isSelectList, items, prefix, ref
asValue, isStar, isValue, unfold
items, ref
public static ExpandBuilder<StructuredTypeImpl> expand(CqnStructuredTypeRef ref)
public static <T extends StructuredType<T>> ExpandBuilder<T> expand(T entity)
public static <T extends StructuredType<T>> ExpandBuilder<T> expand(T entity, boolean lazy)
public ExpandBuilder<T> all()
all
in class SelectList
public ExpandBuilder<T> items(CqnSelectListItem item)
items
in class SelectList
public ExpandBuilder<T> items(Iterable<CqnSelectListItem> items)
items
in class SelectList
public Expand<T> limit(long entries, long offset)
limit
in interface Expand<T extends StructuredType<T>>
public Optional<CqnLimit> limit()
limit
in interface CqnEntitySelector
public Expand<T> orderBy(List<CqnSortSpecification> sortSpec)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(String... refs)
orderBy
in interface Expand<T extends StructuredType<T>>
public List<CqnSortSpecification> orderBy()
orderBy
in interface CqnEntitySelector
public ExpandBuilder<T> as(String alias)
public String displayName()
displayName
in interface CqnExpand
displayName
in interface CqnSelectListItem
public Optional<String> alias()
alias
in interface CqnExpand
alias
in interface CqnSelectListItem
public CqnToken token()
token
in interface CqnSelectListItem
public boolean lazy()
public void lazy(boolean l)
public String toJson()
toJson
in interface JSONizable
toJson
in class SelectList
public Expand<T> orderBy(Function<T,CqnSortSpecification> sort)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3, Function<T,CqnSortSpecification> sort4)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(Function<T,CqnSortSpecification> sort1, Function<T,CqnSortSpecification> sort2, Function<T,CqnSortSpecification> sort3, Function<T,CqnSortSpecification> sort4, Function<T,CqnSortSpecification> sort5)
orderBy
in interface Expand<T extends StructuredType<T>>
public Expand<T> orderBy(Function<T,CqnSortSpecification>... sortSpec)
orderBy
in interface Expand<T extends StructuredType<T>>
Copyright © 2021 SAP. All rights reserved.