public static IndexBlockEncoding getEncodingById(short indexBlockEncodingId) {
    IndexBlockEncoding algorithm = null;
    if (indexBlockEncodingId >= 0 && indexBlockEncodingId <= Byte.MAX_VALUE) {
      algorithm = idArray[indexBlockEncodingId];
    }
    if (algorithm == null) {
      throw new IllegalArgumentException(String
        .format("There is no index block encoder for given id '%d'", (int) indexBlockEncodingId));
    }
    return algorithm;
  }
Find and return the name of data block encoder for the given id.
@param encoderId id of data block encoder
@return name, same as used in options in column family
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/IndexBlockEncoding.java