Class ArrayExpression
Used to create and directly specify the elements of an array object
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ArrayExpression : Expression, IEquatable<Expression>, IEquatable<ArrayExpression>
Constructors
ArrayExpression(String, List<Expression>)
Initializes a new instance of the Array
Declaration
public ArrayExpression(string type = null, List<Expression> elements = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
List<Expression> | elements | Elements of the array. |
Properties
Elements
Elements of the array
Declaration
public List<Expression> Elements { get; set; }
Property Value
Type | Description |
---|---|
List<Expression> | Elements of the array |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(ArrayExpression)
Returns true if ArrayExpression instances are equal
Declaration
public bool Equals(ArrayExpression input)
Parameters
Type | Name | Description |
---|---|---|
Array |
input | Instance of ArrayExpression 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<>