private Result createCompletedResult() throws IOException {
    numberOfCompleteRows++;
    Result result = Result.createCompleteResult(partialResults);
    partialResults.clear();
    numCellsOfPartialResults = 0;
    return result;
  }
A scan result cache for batched scan, i.e,
{@code scan.getBatch() > 0 && !scan.getAllowPartialResults()}.
<p>
If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 to user. setBatch
doesn't mean setAllowPartialResult(true).
@since 2.0.0
hbase-client/src/main/java/org/apache/hadoop/hbase/client/BatchScanResultCache.java