code: public boolean newrow(String rowdata[]) {
  	if (rowdata != null) {
  	    if (maxrows > 0 && nrows >= maxrows) {
  		atmaxrows = true;
  		return true;
  	    }
  	    rows.addElement(rowdata);
  	    nrows++;
  	}
  	return false;
      }
docs: Callback method used while the query is executed.