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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternate(Expression alternate) consequent(Expression consequent) booleanGet alternateGet consequentgetTest()Get testgetType()Type of AST nodeinthashCode()voidsetAlternate(Expression alternate) voidsetConsequent(Expression consequent) voidsetTest(Expression test) voidtest(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:
equalsin classExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classExpression
-
toString
- Overrides:
toStringin classExpression
-