コード例 #1
0
  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);
  }
コード例 #2
0
  Result getDataResult(long id) {

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

    return result;
  }