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 voidaccept(CqnVisitor visitor) Traverses the expression tree represented by this token with a givenvisitor.alias()default CqnStructuredTypeRefasRef()Casts this CQN source toCqnSelect.default booleanisRef()Returnstrueif this is aCqnStructuredTypeRef.Methods inherited from interface com.sap.cds.ql.cqn.CqnReference
firstSegment, lastSegment, path, rootSegment, segments, size, stream, targetSegmentMethods inherited from interface com.sap.cds.ql.cqn.CqnSource
asJoin, asSelect, asTableFunction, isJoin, isSelect, isTableFunctionMethods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
isRef
default boolean isRef()Description copied from interface:CqnSourceReturnstrueif this is aCqnStructuredTypeRef. -
asRef
Description copied from interface:CqnSourceCasts this CQN source toCqnSelect. -
alias
- Specified by:
aliasin interfaceCqnReference
-
accept
Description copied from interface:CqnTokenTraverses 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'sacceptmethods. Afterwards this token is passed to the visitor'svisitmethod specific for this token's type.- Specified by:
acceptin interfaceCqnToken- Parameters:
visitor- theCqnVisitor
-