@Override
      public synchronized OutputStream createCompressionStream(OutputStream downStream,
        Compressor compressor, int downStreamBufferSize) throws IOException {
        if (downStreamBufferSize > 0) {
          return new BufferedOutputStream(downStream, downStreamBufferSize);
        }

        return downStream;
      }
Compression algorithms. The ordinal of these cannot change or else you risk breaking all
existing HFiles out there. Even the ones that are not compressed! (They use the NONE algorithm)
hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/Compression.java