Commit 1532c34a authored by neop's avatar neop
Browse files

check output

parent f20a2346
...@@ -96,9 +96,9 @@ public class Main { ...@@ -96,9 +96,9 @@ public class Main {
} }
private static void run() throws Exception { private static void run() throws Exception {
System.out.println("starting influx query");
var tables = influxDBClient.getQueryApi().query("from(bucket:\"openforecast\") |> range(start: -600d1m, stop: -600d) |> mean() |> yield(name: \"_results\")"); var tables = influxDBClient.getQueryApi().query("from(bucket:\"openforecast\") |> range(start: -600d1m, stop: -600d) |> mean() |> yield(name: \"_results\")");
System.out.println("starting influx query");
for (var fluxTable : tables) { for (var fluxTable : tables) {
var records = fluxTable.getRecords(); var records = fluxTable.getRecords();
for (var fluxRecord : records) { for (var fluxRecord : records) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment