Package com.sap.cds.ql.cqn
Interface CqnNullValue
-
- All Superinterfaces:
CqnToken
,CqnValue
,JSONizable
public interface CqnNullValue extends CqnValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
.default CqnNullValue
asNullValue()
Casts this value toCqnNullValue
.default boolean
isNullValue()
Returnstrue
if this is aCqnNullValue
.-
Methods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asExpression, asFunction, asList, asLiteral, asParameter, asPlain, asRef, isExpression, isFunction, isList, isLiteral, isParameter, isPlain, isRef, ofRef, type
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
isNullValue
default boolean isNullValue()
Description copied from interface:CqnValue
Returnstrue
if this is aCqnNullValue
.- Specified by:
isNullValue
in interfaceCqnValue
- Returns:
true
if this is a null value, otherwisefalse
-
asNullValue
default CqnNullValue asNullValue()
Description copied from interface:CqnValue
Casts this value toCqnNullValue
.- Specified by:
asNullValue
in interfaceCqnValue
- Returns:
- this value as a null value
-
accept
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
-
-