Package com.influxdb.client.domain
Class ConditionalExpression
java.lang.Object
com.influxdb.client.domain.Node
com.influxdb.client.domain.Expression
com.influxdb.client.domain.ConditionalExpression
Selects one of two expressions, `Alternate` or `Consequent`, depending on a third boolean expression, `Test`
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalternate
(Expression alternate) consequent
(Expression consequent) boolean
Get alternateGet consequentgetTest()
Get testgetType()
Type of AST nodeint
hashCode()
void
setAlternate
(Expression alternate) void
setConsequent
(Expression consequent) void
setTest
(Expression test) void
test
(Expression test) toString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_TEST
- See Also:
-
SERIALIZED_NAME_ALTERNATE
- See Also:
-
SERIALIZED_NAME_CONSEQUENT
- See Also:
-
-
Constructor Details
-
ConditionalExpression
public ConditionalExpression()
-
-
Method Details
-
type
-
getType
Type of AST node- Returns:
- type
-
setType
-
test
-
getTest
Get test- Returns:
- test
-
setTest
-
alternate
-
getAlternate
Get alternate- Returns:
- alternate
-
setAlternate
-
consequent
-
getConsequent
Get consequent- Returns:
- consequent
-
setConsequent
-
equals
- Overrides:
equals
in classExpression
-
hashCode
public int hashCode()- Overrides:
hashCode
in classExpression
-
toString
- Overrides:
toString
in classExpression
-