Class FluxRecord
A record is a tuple of values. Each record in the table represents a single point in the series.
Inheritance
System.Object
FluxRecord
Namespace: InfluxDB.Client.Core.Flux.Domain
Assembly: InfluxDB.Client.Core.dll
Syntax
public class FluxRecord : object
Constructors
FluxRecord(Int32)
Declaration
public FluxRecord(int table)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | table |
Properties
Row
The record's columns.
Declaration
public List<object> Row { get; }
Property Value
Type | Description |
---|---|
List<System.Object> |
Table
The Index of the table that the record belongs.
Declaration
public int Table { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Values
The record's values.
Declaration
public Dictionary<string, object> Values { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Object> |
Methods
GetField()
Declaration
public string GetField()
Returns
Type | Description |
---|---|
System.String | get value with key _field |
GetMeasurement()
Declaration
public string GetMeasurement()
Returns
Type | Description |
---|---|
System.String | get value with key _measurement |
GetStart()
Declaration
public Instant? GetStart()
Returns
Type | Description |
---|---|
System.Nullable<Instant> | the inclusive lower time bound of all records |
GetStop()
Declaration
public Instant? GetStop()
Returns
Type | Description |
---|---|
System.Nullable<Instant> | the exclusive upper time bound of all records |
GetTime()
The timestamp as a
Declaration
public Instant? GetTime()
Returns
Type | Description |
---|---|
System.Nullable<Instant> | the time of the record |
GetTimeInDateTime()
The timestamp as a
Declaration
public DateTime? GetTimeInDateTime()
Returns
Type | Description |
---|---|
System.Nullable<DateTime> | the time of the record |
GetValue()
Declaration
public object GetValue()
Returns
Type | Description |
---|---|
System.Object | the value of the record |
GetValueByIndex(Int32)
Get FluxRecord value by index.
Declaration
public object GetValueByIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | index of value in CSV response |
Returns
Type | Description |
---|---|
System.Object | value |
GetValueByKey(String)
Get FluxRecord value by key.
Declaration
public object GetValueByKey(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | the key of value in CSV response |
Returns
Type | Description |
---|---|
System.Object | value |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |