Class LogicalExpression
Represents the rule conditions that collectively evaluate to either true or false
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class LogicalExpression : Expression, IEquatable<Expression>, IEquatable<LogicalExpression>
Constructors
LogicalExpression(String, String, Expression, Expression)
Initializes a new instance of the Logical
Declaration
public LogicalExpression(string type = null, string _operator = null, Expression left = null, Expression right = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
System. |
_operator | _operator. |
Expression | left | left. |
Expression | right | right. |
Properties
Left
Gets or Sets Left
Declaration
public Expression Left { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Operator
Gets or Sets Operator
Declaration
public string Operator { get; set; }
Property Value
Type | Description |
---|---|
System. |
Right
Gets or Sets Right
Declaration
public Expression Right { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(LogicalExpression)
Returns true if LogicalExpression instances are equal
Declaration
public bool Equals(LogicalExpression input)
Parameters
Type | Name | Description |
---|---|---|
Logical |
input | Instance of LogicalExpression to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Implements
IEquatable<>
IEquatable<>