public Compression.Algorithm getCompression() {
    return compressAlgo;
  }
Returns true when on-disk blocks are compressed, and/or encrypted; false otherwise.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileContext.java