-
Notifications
You must be signed in to change notification settings - Fork 5
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
Nopage #8
Nopage #8
Conversation
Add single-value, delete-data-points |
// tags.add("delete"); | ||
// Sensor sensor = new Sensor("delete-sensor", "name", tags, new HashMap<String, String>()); | ||
// tags.add("deleteDataPoints"); | ||
// Sensor sensor = new Sensor("deleteDataPoints-sensor", "name", tags, new HashMap<String, String>()); | ||
// Result<Sensor> result1 = client.createSensor(sensor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's all this commented stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dead/tempodb code
@@ -419,6 +419,61 @@ public DataPointRowCursor read(Selection selection, DateTime start, DateTime sto | |||
return read(selection, new Pipeline(), start, stop); | |||
} | |||
|
|||
public DataPointRowCursor latest(Selection selection, Pipeline pipeline) { | |||
checkNotNull(selection); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does pipeline need a NULL check as well, or is it ok to pass a null pipeline into a Query?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have null-checking code specifically for a null pipeline elsewhere, but I think we should just accept a default parameter instead of a null pipeline; i'll make the change
@@ -11,6 +11,10 @@ | |||
|
|||
public DataPointIterator(DataPointRowCursor rowCursor, String deviceKey, String sensorKey) { | |||
this.rowIterator = rowCursor.iterator(); | |||
System.out.println("ROW ITERATOR: "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove these print statements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we should. will do now
No description provided.