public <T> T decode(byte[] input, Class<T> clazz) throws IOException {
    return om.readValue(input, clazz);
  }
Enables to encode/decode runtime statistics values into textual form.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/signature/RuntimeStatsPersister.java