Package com.influxdb.client.domain
Class UnaryExpression
java.lang.Object
com.influxdb.client.domain.Node
com.influxdb.client.domain.Expression
com.influxdb.client.domain.UnaryExpression
Uses operators to act on a single operand in an expression
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionargument
(Expression argument) boolean
Get argumentGet operatorgetType()
Type of AST nodeint
hashCode()
void
setArgument
(Expression argument) void
setOperator
(String operator) void
toString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_OPERATOR
- See Also:
-
SERIALIZED_NAME_ARGUMENT
- See Also:
-
-
Constructor Details
-
UnaryExpression
public UnaryExpression()
-
-
Method Details
-
type
-
getType
Type of AST node- Returns:
- type
-
setType
-
operator
-
getOperator
Get operator- Returns:
- operator
-
setOperator
-
argument
-
getArgument
Get argument- Returns:
- argument
-
setArgument
-
equals
- Overrides:
equals
in classExpression
-
hashCode
public int hashCode()- Overrides:
hashCode
in classExpression
-
toString
- Overrides:
toString
in classExpression
-