code: public CompressionCodec getCodecByClassName(String classname) {
      if (codecsByClassName == null) {
        return null;
      }
      return codecsByClassName.get(classname);
    }
docs: Find the relevant compression codec for the codec's canonical class name.
  @param classname the canonical class name of the codec
  @return the codec object