Package com.sap.cds.impl.builder.model
Class ExpandBuilder<T extends StructuredType<T>>
java.lang.Object
com.sap.cds.impl.builder.model.SelectList
com.sap.cds.impl.builder.model.ExpandBuilder<T>
- All Implemented Interfaces:
JSONizable
,CqnEntitySelector
,CqnExpand
,CqnSelectList
,CqnSelectListItem
,CqnToken
,Expand<T>
,Selectable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cds.impl.builder.model.SelectList
SelectList.Type
-
Field Summary
Fields inherited from class com.sap.cds.impl.builder.model.SelectList
ref
-
Method Summary
Modifier and TypeMethodDescriptionaddOrderBy
(CqnSortSpecification sortSpec) alias()
all()
static ExpandBuilder<StructuredTypeImpl>
static <T extends StructuredType<T>>
ExpandBuilder<T>expand
(T entity) static <T extends StructuredType<T>>
ExpandBuilder<T>expand
(T entity, boolean lazy) boolean
inlineCount
(boolean inlineCount) items
(Selectable item) items
(Iterable<? extends Selectable> items) boolean
lazy()
void
lazy
(boolean l) limit
(long top, long skip) orderBy()
orderBy
(Function<T, CqnSortSpecification> sort) orderBy
(Function<T, CqnSortSpecification>... sortSpec) orderBy
(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2) orderBy
(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3) orderBy
(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3, Function<T, CqnSortSpecification> sort4) orderBy
(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3, Function<T, CqnSortSpecification> sort4, Function<T, CqnSortSpecification> sort5) orderBy
(List<CqnSortSpecification> sortSpec) long
skip()
toJson()
token()
long
top()
Methods inherited from class com.sap.cds.impl.builder.model.SelectList
create, isExpand, isInline, items, ref, toString, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.ql.cqn.CqnEntitySelector
dispatch, hasLimit, items
Methods inherited from interface com.sap.cds.ql.cqn.CqnSelectList
asInline, asSelectList, isInline, isSelectList, items
-
Method Details
-
expand
-
expand
-
expand
-
all
- Overrides:
all
in classSelectList
-
items
- Overrides:
items
in classSelectList
-
items
- Specified by:
items
in interfaceExpand<T extends StructuredType<T>>
- Overrides:
items
in classSelectList
-
limit
- Specified by:
limit
in interfaceExpand<T extends StructuredType<T>>
-
top
public long top()- Specified by:
top
in interfaceCqnEntitySelector
-
skip
public long skip()- Specified by:
skip
in interfaceCqnEntitySelector
-
orderBy
- Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
addOrderBy
-
orderBy
- Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
- Specified by:
orderBy
in interfaceCqnEntitySelector
-
displayName
- Specified by:
displayName
in interfaceCqnExpand
-
as
- Specified by:
as
in interfaceExpand<T extends StructuredType<T>>
-
alias
-
token
- Specified by:
token
in interfaceCqnSelectListItem
-
lazy
public boolean lazy() -
lazy
public void lazy(boolean l) -
toJson
- Specified by:
toJson
in interfaceJSONizable
-
orderBy
- Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
public Expand<T> orderBy(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2) - Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
public Expand<T> orderBy(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3) - Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
public Expand<T> orderBy(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3, Function<T, CqnSortSpecification> sort4) - Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
public Expand<T> orderBy(Function<T, CqnSortSpecification> sort1, Function<T, CqnSortSpecification> sort2, Function<T, CqnSortSpecification> sort3, Function<T, CqnSortSpecification> sort4, Function<T, CqnSortSpecification> sort5) - Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
orderBy
- Specified by:
orderBy
in interfaceExpand<T extends StructuredType<T>>
-
hasInlineCount
public boolean hasInlineCount()- Specified by:
hasInlineCount
in interfaceCqnEntitySelector
-
inlineCount
- Specified by:
inlineCount
in interfaceExpand<T extends StructuredType<T>>
-
inlineCount
- Specified by:
inlineCount
in interfaceExpand<T extends StructuredType<T>>
-