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

Method hasNext

src/query/expression/UnionIterator.java:329–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327 // Iterator implementations
328
329 @Override
330 public boolean hasNext() {
331 for (final ITimeSyncedIterator sub : queries.values()) {
332 if (sub.hasNext()) {
333 return true;
334 }
335 }
336 return false;
337 }
338
339 @Override
340 public ExpressionDataPoint[] next(long timestamp) {

Callers 15

ctorEmptyResultsMethod · 0.95
twoAndThreeSeriesMethod · 0.95
threeSeriesAggedMethod · 0.95
threeSeriesWithNaNsMethod · 0.95
twoSeriesTimeOffsetMethod · 0.95
commonAggregatedTagMethod · 0.95
extraAggTagIgnoredMethod · 0.95

Calls 5

valuesMethod · 0.65
hasNextMethod · 0.65
getValueMethod · 0.45
getMethod · 0.45
getKeyMethod · 0.45

Tested by 15

ctorEmptyResultsMethod · 0.76
twoAndThreeSeriesMethod · 0.76
threeSeriesAggedMethod · 0.76
threeSeriesWithNaNsMethod · 0.76
twoSeriesTimeOffsetMethod · 0.76
commonAggregatedTagMethod · 0.76
extraAggTagIgnoredMethod · 0.76