Package com.sap.cds.ql.cqn
Interface CqnStructuredTypeRef
- All Superinterfaces:
CqnReference
,CqnSource
,CqnToken
,JSONizable
- All Known Subinterfaces:
StructuredTypeRef
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.CqnReference
CqnReference.Segment
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(CqnVisitor visitor) Traverses the expression tree represented by this token with a givenvisitor
.alias()
default CqnStructuredTypeRef
asRef()
Casts this CQN source toCqnSelect
.default boolean
isRef()
Returnstrue
if this is aCqnStructuredTypeRef
.Methods inherited from interface com.sap.cds.ql.cqn.CqnReference
firstSegment, lastSegment, path, rootSegment, segments, size, stream, targetSegment
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
isRef
default boolean isRef()Description copied from interface:CqnSource
Returnstrue
if this is aCqnStructuredTypeRef
. -
asRef
Description copied from interface:CqnSource
Casts this CQN source toCqnSelect
. -
alias
- Specified by:
alias
in interfaceCqnReference
-
accept
Description copied from interface:CqnToken
Traverses the expression tree represented by this token with a givenvisitor
. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children'saccept
methods. Afterwards this token is passed to the visitor'svisit
method specific for this token's type.- Specified by:
accept
in interfaceCqnToken
- Parameters:
visitor
- theCqnVisitor
-