public Scan setCacheBlocks(boolean cacheBlocks) {
    this.cacheBlocks = cacheBlocks;
    return this;
  }
Set whether blocks should be cached for this Scan.
<p>
This is true by default. When true, default settings of the table and family are used (this
will never override caching blocks if the block cache is disabled for that family or entirely).
@param cacheBlocks if false, default settings are overridden and blocks will not be cached
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java