public interface CqnStructuredTypeRef extends CqnReference, CqnSource
CqnReference.Segment
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
Optional<String> |
alias() |
default CqnStructuredTypeRef |
asRef()
Casts this CQN source to
CqnSelect . |
default boolean |
isRef()
Returns
true if this is a CqnStructuredTypeRef . |
firstSegment, lastSegment, rootSegment, segments, targetSegment
asJoin, asQuery, asSelect, isJoin, isQuery, isSelect
toJson
default boolean isRef()
CqnSource
true
if this is a CqnStructuredTypeRef
.default CqnStructuredTypeRef asRef()
CqnSource
CqnSelect
.Optional<String> alias()
alias
in interface CqnReference
default void accept(CqnVisitor visitor)
CqnToken
visitor
. The traversal order is depth-first. If this token has
child nodes they are traversed first by dispatching the visitor to the
children's accept
methods.
Afterwards this token is passed to the visitor's visit
method
specific for this token's type.accept
in interface CqnToken
visitor
- the CqnVisitor
Copyright © 2022 SAP. All rights reserved.