Package com.sap.cds.ql.cqn
Interface CqnReference
- All Superinterfaces:
CqnToken,JSONizable
- All Known Subinterfaces:
CqnElementRef,CqnStructuredTypeRef,ElementRef<T>,StructuredTypeRef
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionalias()default Stringdefault Stringdefault Stringpath()default CqnReference.SegmentReturns the first segment of this ref.segments()Returns the segments of this ref.default intsize()default Stream<CqnReference.Segment>stream()default CqnReference.SegmentReturns the last segment of this ref.Methods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
segments
List<CqnReference.Segment> segments()Returns the segments of this ref.- Returns:
- the ref segments
-
stream
-
path
-
size
default int size() -
alias
-
rootSegment
Returns the first segment of this ref.- Returns:
- the first segment
-
targetSegment
Returns the last segment of this ref.- Returns:
- the last segment
-
firstSegment
-
lastSegment
-