@Override
    public void setIncludesMemStoreTS(boolean includesMemstoreTS) {
      this.fileContext =
        new HFileContextBuilder(this.fileContext).withIncludesMvcc(includesMemstoreTS).build();
    }
Reads a version 2 block.
@param offset                the offset in the stream to read at.
@param onDiskSizeWithHeaderL the on-disk size of the block, including the header and
                             checksums if present or -1 if unknown (as a long). Can be -1 if
                             we are doing raw iteration of blocks as when loading up file
                             metadata; i.e. the first read of a new file. Usually non-null
                             gotten from the file index.
@param pread                 whether to use a positional read
@param verifyChecksum        Whether to use HBase checksums. If HBase checksum is switched
                             off, then use HDFS checksum. Can also flip on/off reading same
                             file if we hit a troublesome patch in an hfile.
@param updateMetrics         whether need to update the metrics.
@param intoHeap              allocate the ByteBuff of block from heap or off-heap.
@return the HFileBlock or null if there is a HBase checksum mismatch
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java