Class BadStatement
A placeholder for statements for which no correct statement nodes can be created
Implements
IEquatable<BadStatement>
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class BadStatement : Statement, IEquatable<BadStatement>
Constructors
BadStatement(String, String)
Initializes a new instance of the BadStatement class.
Declaration
public BadStatement(string type = null, string text = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | Type of AST node. |
System.String | text | Raw source text. |
Properties
Text
Raw source text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Raw source text |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type of AST node |
Methods
Equals(BadStatement)
Returns true if BadStatement instances are equal
Declaration
public bool Equals(BadStatement input)
Parameters
Type | Name | Description |
---|---|---|
BadStatement | input | Instance of BadStatement to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 | String presentation of the object |
Overrides
Implements
IEquatable<>