public long getMaxResultSize() {
    return maxResultSize;
  }
Returns the maximum result size in bytes. See {@link #setMaxResultSize(long)}
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java