Package com.sap.cds.impl.parser.token
Class CqnBoolLiteral
- All Implemented Interfaces:
ValueDefaults<Boolean>
,JSONizable
,BooleanValue
,CqnBooleanLiteral
,CqnExpression
,CqnLiteral<Boolean>
,CqnPredicate
,CqnToken
,CqnValue
,Literal<Boolean>
,Orderable
,Predicate
,Value<Boolean>
-
Field Summary
Fields inherited from class com.sap.cds.impl.builder.model.LiteralImpl
constant, val
Fields inherited from class com.sap.cds.impl.builder.model.AbstractValue
cdsType
-
Method Summary
Modifier and TypeMethodDescriptionand
(CqnPredicate other, CqnPredicate... more) not()
or
(CqnPredicate other, CqnPredicate... more) type()
static CqnBoolLiteral
valueOf
(boolean val) Methods inherited from class com.sap.cds.impl.builder.model.LiteralImpl
baseType, constant, is, is, isConstant, json, toJson, val, val, val, val, value
Methods inherited from class com.sap.cds.impl.builder.model.AbstractValue
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.BooleanValue
accept
Methods inherited from interface com.sap.cds.ql.cqn.CqnBooleanLiteral
isBoolean
Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation, toJson
Methods inherited from interface com.sap.cds.ql.cqn.CqnLiteral
asBoolean, asLiteral, asNumber, asString, asStructured, asTemporal, isConstant, isLiteral, isNumeric, isString, isStructured, isTemporal, value
Methods inherited from interface com.sap.cds.ql.cqn.CqnPredicate
asPredicate, isPredicate
Methods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asFunction, asList, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isNullValue, isParameter, isPlain, isRef, ofRef
Methods inherited from interface com.sap.cds.impl.builder.model.ValueDefaults
as, asc, ascNullsLast, average, between, between, between, between, contains, contains, contains, countDistinct, desc, descNullsFirst, dividedBy, dividedBy, endsWith, endsWith, eq, eq, func, ge, ge, gt, gt, in, in, in, in, isNot, isNot, isNotNull, isNull, le, le, lt, lt, max, min, minus, minus, ne, ne, plain, plus, plus, startsWith, startsWith, substring, substring, substring, substring, sum, times, times, toLower, toUpper, type, type, withoutAlias
-
Field Details
-
FALSE
-
TRUE
-
-
Method Details
-
valueOf
-
type
- Specified by:
type
in interfaceCqnValue
- Overrides:
type
in classLiteralImpl<Boolean>
-
not
-
and
-
or
-
type
- Specified by:
type
in interfaceValue<Boolean>
- Specified by:
type
in interfaceValueDefaults<Boolean>
- Overrides:
type
in classLiteralImpl<Boolean>
-