public static String[] getSupportedAlgorithms() {
    Algorithm[] algos = Algorithm.class.getEnumConstants();

    String[] ret = new String[algos.length];
    int i = 0;
    for (Algorithm a : algos) {
      ret[i++] = a.getName();
    }

    return ret;
  }
Get names of supported compression algorithms.
@return Array of strings, each represents a supported compression algorithm. Currently, the
        following compression algorithms are supported.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/Compression.java