docs: @Override
      public boolean getMoreResults(int current) throws SQLException
      {
          checkClosed();
          switch(current)
          {
              case Statement.KEEP_CURRENT_RESULT:
                  this.openResults.add(this.result);
                  this.result = null;
                  this.lastUpdateCount = -1;
                  break;
              case Statement.CLOSE_CURRENT_RESULT:
                  closeCurrentResult();
                  break;
              case Statement.CLOSE_ALL_RESULTS:
                  closeCurrentResult();
                  closeAllOpenResults();
                  break;
              default:
                  throw SQLError.get(SQLError.ILLEGAL_ARGUMENT, current);
          }
          if (current != Statement.CLOSE_ALL_RESULTS)
          {
              this.tableResultIndex++;
              if (this.tableResultIndex < this.tableResults.length)
              {
                  VoltTable table = this.tableResults[this.tableResultIndex];
                  if (VoltSQL.isUpdateResult(table)) {
                      this.lastUpdateCount = (int)table.fetchRow(0).getLong(0);
                  } else
                  {
                      this.result = createTrimmedResultSet(table);
                      return true;
                  }
              }
          }
          return false;
      }