Skip to content
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

Merged
merged 14 commits into from
Oct 31, 2014
Merged

Nopage #8

merged 14 commits into from
Oct 31, 2014

Conversation

jcc333
Copy link
Contributor

@jcc333 jcc333 commented Oct 31, 2014

No description provided.

@jcc333
Copy link
Contributor Author

jcc333 commented Oct 31, 2014

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);

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?

Copy link
Contributor Author

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);
Copy link
Contributor

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?

Copy link
Contributor Author

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: ");
Copy link
Contributor

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?

Copy link
Contributor Author

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

myagley added a commit that referenced this pull request Oct 31, 2014
@myagley myagley merged commit 40eb6ab into TempoIQ:master Oct 31, 2014
@myagley myagley deleted the nopage branch October 31, 2014 21:56
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.

3 participants