Class IndexExpression
Represents indexing into an array
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class IndexExpression : Expression, IEquatable<Expression>, IEquatable<IndexExpression>
Constructors
IndexExpression(String, Expression, Expression)
Initializes a new instance of the Index
Declaration
public IndexExpression(string type = null, Expression array = null, Expression index = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
Expression | array | array. |
Expression | index | index. |
Properties
Array
Gets or Sets Array
Declaration
public Expression Array { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Index
Gets or Sets Index
Declaration
public Expression Index { 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(IndexExpression)
Returns true if IndexExpression instances are equal
Declaration
public bool Equals(IndexExpression input)
Parameters
Type | Name | Description |
---|---|---|
Index |
input | Instance of IndexExpression 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<>