Functions that evaluate boolean expressions and test the presence of values.
Evaluates if an expression is false
or null
.
isFalseOrNull(expression)
Parameter
Type
Description
Required
expression
boolean
required
The data type of the returned value is boolean
.
data record(value = true),record(value = false),record(value = null),record() // field does not exist| fieldsAdd isFalseOrNull(value)
Query result:
value
isFalseOrNull(value)
true
false
false
true
null
true
null
true
Tests if a value is not null
.
isNotNull(expression)
Parameter
Type
Description
Required
expression
array, boolean, double, duration, ip, long, record, string, timeframe, timestamp
required
The data type of the returned value is boolean
.
data record(value = true),record(value = false),record(value = "DQL is awesome!"),record(value = null),record() // field does not exist| fieldsAdd isNotNull(value)
Query result:
value
isNotNull(value)
true
true
false
true
DQL is awesome!
true
null
false
null
false
Tests if a value is null
.
isNull(expression)
Parameter
Type
Description
Required
expression
array, boolean, double, duration, ip, long, record, string, timeframe, timestamp
required
The data type of the returned value is boolean
.
data record(value = true),record(value = false),record(value = "DQL is awesome!"),record(value = null),record() // field does not exist| fieldsAdd isNull(value)
Query result:
value
isNull(value)
true
false
false
false
DQL is awesome!
false
null
true
null
true
Evaluates if an expression is true
or null
.
isTrueOrNull(expression)
Parameter
Type
Description
Required
expression
boolean
required
The data type of the returned value is boolean
.
data record(value = true),record(value = false),record(value = null),record() // field does not exist| fieldsAdd isTrueOrNull(value)
Query result:
value
isTrueOrNull(value)
true
true
false
false
null
true
null
true