public Object getValue() {
    try {
      ByteArrayInputStream bais = new ByteArrayInputStream(getBytes());
      TypedBytesInput tbi = TypedBytesInput.get(new DataInputStream(bais));
      Object obj = tbi.read();
      return obj;
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
Get the typed bytes as a Java object.
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesWritable.java