@Override public boolean hasNext() { if (closed || afterLast) { return false; } if (nextRow == null && (limit <= 0 || rowId + 1 < limit)) { nextRow = fetchNextRow(); } return nextRow != null; }
@Override public boolean hasNext() { if (closed || afterLast) { return false; } if (nextRow == null && (limit <= 0 || rowId + 1 < limit)) { nextRow = fetchNextRow(); } return nextRow != null; }