Package com.sap.cds.ql.cqn
Interface CqnStructuredTypeRef
-
- All Superinterfaces:
CqnReference
,CqnSource
,CqnToken
,JSONizable
- All Known Subinterfaces:
StructuredTypeRef
public interface CqnStructuredTypeRef extends CqnReference, CqnSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.CqnReference
CqnReference.Segment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
.Optional<String>
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, rootSegment, segments, targetSegment
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnSource
asJoin, asQuery, asSelect, isJoin, isQuery, isSelect
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
isRef
default boolean isRef()
Description copied from interface:CqnSource
Returnstrue
if this is aCqnStructuredTypeRef
.
-
asRef
default CqnStructuredTypeRef asRef()
Description copied from interface:CqnSource
Casts this CQN source toCqnSelect
.
-
alias
Optional<String> alias()
- Specified by:
alias
in interfaceCqnReference
-
accept
default void accept(CqnVisitor visitor)
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
-
-