public boolean nextRow() {
      if (currentRow + 1 > rows) {
        return false;
      }
      currentRow += 1;
      return true;
    }
Used for keeping track of iterations on results.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/ptf/VectorPTFGroupBatches.java