/**
  * Read a row from the data page at the given position.
  *
  * @param data the data page
  * @param pos the position to read from
  * @param columnCount the number of columns
  * @return the row
  */
 private static Row readRow(Data data, int pos, int columnCount) {
   Value[] values = new Value[columnCount];
   synchronized (data) {
     data.setPos(pos);
     for (int i = 0; i < columnCount; i++) {
       values[i] = data.readValue();
     }
   }
   return RegularTable.createRow(values);
 }
 /** Reset the index. */
 void initRead() {
   data.setPos(DATA_START);
   remaining = store.getPageSize() - DATA_START;
 }