private Result combine() throws IOException {
    Result result = Result.createCompleteResult(partialResults);
    partialResults.clear();
    return result;
  }
A scan result cache that only returns complete result.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/CompleteScanResultCache.java