RowSetNavigatorClient getRowSetSlice(long id, int offset, int count) {

    Result result = (Result) resultMap.get(id);
    RowSetNavigator source = result.getNavigator();

    if (offset + count > source.getSize()) {
      count = source.getSize() - offset;
    }

    return new RowSetNavigatorClient(source, offset, count);
  }
  Result getDataResult(long id) {

    Result result = (Result) resultMap.get(id);

    return result;
  }