Lines Matching refs:maxrows
289 * @param maxrows the max. number of rows to retrieve
293 public TableResult get_table(String sql, int maxrows)
295 TableResult ret = new TableResult(maxrows);
300 if (maxrows <= 0 || !ret.atmaxrows) {
309 if (ret.maxrows > 0) {
310 while (ret.nrows < ret.maxrows && vm.step(ret)) {
341 * @param maxrows the max. number of rows to retrieve
346 public TableResult get_table(String sql, int maxrows, String args[])
348 TableResult ret = new TableResult(maxrows);
353 if (maxrows <= 0 || !ret.atmaxrows) {
362 if (ret.maxrows > 0) {
363 while (ret.nrows < ret.maxrows && vm.step(ret)) {
407 if (tbl.maxrows <= 0 || !tbl.atmaxrows) {
415 if (tbl.maxrows > 0) {
416 while (tbl.nrows < tbl.maxrows && vm.step(tbl)) {