Package com.sap.cds.ql
Interface ElementRef<T>
- All Superinterfaces:
CqnElementRef,CqnReference,CqnSelectListItem,CqnSelectListValue,CqnToken,CqnValue,JSONizable,Orderable,Selectable,SelectableValue,Value<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.CqnReference
CqnReference.Segment -
Field Summary
Fields inherited from interface com.sap.cds.ql.cqn.CqnElementRef
$KEY -
Method Summary
Methods inherited from interface com.sap.cds.ql.cqn.CqnElementRef
accept, asRef, asValue, isRef, isValue, ofRef, valueMethods inherited from interface com.sap.cds.ql.cqn.CqnReference
alias, firstSegment, lastSegment, path, rootSegment, segments, size, stream, targetSegmentMethods inherited from interface com.sap.cds.ql.cqn.CqnSelectListItem
asExpand, asSelectList, isExpand, isSelectList, isStar, token, unfoldMethods inherited from interface com.sap.cds.ql.cqn.CqnSelectListValue
alias, displayName, ofValueMethods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asExpression, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, isExpression, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, ofLiteral, typeMethods inherited from interface com.sap.cds.JSONizable
toJsonMethods inherited from interface com.sap.cds.ql.Orderable
asc, ascNullsLast, desc, descNullsFirstMethods inherited from interface com.sap.cds.ql.SelectableValue
withoutAliasMethods inherited from interface com.sap.cds.ql.Value
average, between, between, between, between, contains, contains, contains, countDistinct, dividedBy, dividedBy, endsWith, endsWith, eq, eq, func, ge, ge, gt, gt, in, in, in, in, in, is, is, isNot, isNot, isNotNull, isNull, le, le, lt, lt, matchesPattern, matchesPattern, matchesPattern, matchesPattern, max, min, minus, minus, ne, ne, plain, plus, plus, startsWith, startsWith, substring, substring, substring, substring, sum, times, times, toLower, toUpper, type, type
-
Method Details
-
as
Sets an alias.- Specified by:
asin interfaceSelectableValue- Parameters:
alias- the alias- Returns:
- a ref with the given alias. Can be a new ref if this ref is immutable
-
type
Sets the type.
-