/** {@inheritDoc} */ @Override public Object nextX() throws IgniteCheckedException { return it.nextX(); }
/** {@inheritDoc} */ @Override public synchronized CacheDataRow nextX() throws IgniteCheckedException { if (historicalIterator != null && historicalIterator.hasNextX()) return historicalIterator.nextX(); if (current == null || !current.getValue().hasNextX()) throw new NoSuchElementException(); CacheDataRow result = current.getValue().nextX(); assert result.partition() == current.getKey(); advance(); return result; }
@Override protected boolean onHasNext() throws IgniteCheckedException { if (cur != null) return true; if (locIter != null && locIter.hasNextX()) cur = locIter.nextX(); return cur != null || (cur = convert(fut.next())) != null; }
/** {@inheritDoc} */ @Override public Object nextX() throws IgniteCheckedException { return it.nextX(); }
/** {@inheritDoc} */ @Override public synchronized CacheDataRow nextX() throws IgniteCheckedException { if (historicalIterator != null && historicalIterator.hasNextX()) return historicalIterator.nextX(); if (current == null || !current.getValue().hasNextX()) throw new NoSuchElementException(); CacheDataRow result = current.getValue().nextX(); assert result.partition() == current.getKey(); advance(); return result; }
@Override protected boolean onHasNext() throws IgniteCheckedException { if (cur != null) return true; if (locIter != null && locIter.hasNextX()) cur = locIter.nextX(); return cur != null || (cur = convert(fut.next())) != null; }