Package com.sap.cds.ql.cqn
Class CqnStar
- java.lang.Object
-
- com.sap.cds.ql.cqn.CqnStar
-
- All Implemented Interfaces:
JSONizable
,CqnSelectListItem
,CqnToken
,Selectable
public final class CqnStar extends Object implements CqnSelectListItem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
.boolean
isStar()
static CqnStar
star()
String
toJson()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnSelectListItem
alias, asExpand, asRef, asSelectList, asValue, displayName, isExpand, isRef, isSelectList, isValue, ofRef, ofValue, token, unfold
-
-
-
-
Method Detail
-
star
public static CqnStar star()
-
isStar
public boolean isStar()
- Specified by:
isStar
in interfaceCqnSelectListItem
-
toJson
public String toJson()
- Specified by:
toJson
in interfaceJSONizable
-
accept
public 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
-
-