MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / next

Method next

src/query/expression/IntersectionIterator.java:214–223  ·  view source on GitHub ↗

fetch the next set of time aligned results for all series

()

Source from the content-addressed store, hash-verified

212
213 /** fetch the next set of time aligned results for all series */
214 @Override
215 public void next() {
216 if (!hasNext()) {
217 throw new IllegalDataException("No more data");
218 }
219 for (final ITimeSyncedIterator sub : queries.values()) {
220 sub.next(timestamp);
221 }
222 timestamp = nextTimestamp();
223 }
224
225 /** @return a map of values that will change on each iteration */
226 @Override

Calls 4

hasNextMethod · 0.95
nextTimestampMethod · 0.95
valuesMethod · 0.65
nextMethod · 0.65