Skip to content

fix issues 498: Added streaming with time units to the influx db interface #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

weiss19ja
Copy link

Fix for issues #498 to propagate exception if you are using the query stream.

Adds also functionality to specify the time unit to the query stream. This feature was also disred by #418.
It is needed if you want to stream a great among of data and don't want to parse the dates from the ISO format to an epoch timestamp.

@weiss19ja weiss19ja changed the title fix issues 498: Added streaming with time units to the inflx db interface fix issues 498: Added streaming with time units to the influx db interface Aug 31, 2018
@weiss19ja weiss19ja force-pushed the feat/stream-query-with-time-unit branch from d38b965 to c576890 Compare August 31, 2018 11:34
@codecov-io
Copy link

Codecov Report

Merging #508 into master will decrease coverage by 10.55%.
The diff coverage is 75%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master     #508       +/-   ##
=============================================
- Coverage     87.53%   76.97%   -10.56%     
+ Complexity      365      320       -45     
=============================================
  Files            25       25               
  Lines          1500     1516       +16     
  Branches        167      169        +2     
=============================================
- Hits           1313     1167      -146     
- Misses          120      285      +165     
+ Partials         67       64        -3
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/influxdb/InfluxDB.java 100% <ø> (ø) 0 <0> (ø) ⬇️
src/main/java/org/influxdb/impl/InfluxDBImpl.java 85.48% <75%> (-4.32%) 78 <6> (ø)
...ava/org/influxdb/msgpack/QueryResultModelPath.java 0% <0%> (-90%) 0% <0%> (-7%)
...ava/org/influxdb/msgpack/MessagePackTraverser.java 0% <0%> (-87.06%) 0% <0%> (-37%)
...uxdb/msgpack/MessagePackResponseBodyConverter.java 25% <0%> (-75%) 1% <0%> (-1%)
src/main/java/org/influxdb/InfluxDBException.java 87.27% <0%> (-3.64%) 11% <0%> (-1%)
src/main/java/org/influxdb/dto/Query.java 63.15% <0%> (-2.64%) 12% <0%> (ø)
src/main/java/org/influxdb/impl/TimeUtil.java 72% <0%> (+4%) 7% <0%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24c5542...c576890. Read the comment docs.

@weiss19ja weiss19ja closed this Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants