-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from AdysTech/wip
Add Querying InfluxDB functionality
- Loading branch information
Showing
9 changed files
with
155 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
AdysTech.InfluxDB.Client.Net/DataContracts/InfluxJsonTypes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace AdysTech.InfluxDB.Client.Net.DataContracts | ||
{ | ||
[DataContract] | ||
public class Series | ||
{ | ||
[DataMember(Name="name")] | ||
public string SeriesName { get; set; } | ||
|
||
[DataMember (Name = "columns")] | ||
public List<string> ColumnHeaders { get; set; } | ||
|
||
[DataMember (Name = "values")] | ||
public List<List<string>> Values { get; set; } | ||
} | ||
|
||
[DataContract] | ||
public class Result | ||
{ | ||
[DataMember (Name = "series")] | ||
public List<Series> Series { get; set; } | ||
} | ||
|
||
[DataContract] | ||
public class InfluxResponse | ||
{ | ||
[DataMember (Name = "results")] | ||
public List<Result> Results { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
AdysTech.InfluxDB.Client.Net/Properties/AssemblyInfo (2).cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters