public static TypeInfo getTypeInfoFromTypeString(String typeString) {
    TypeInfoParser parser = new TypeInfoParser(typeString);
    return parser.parseTypeInfos().get(0);
  }
Get the TypeInfo object from the ObjectInspector object by recursively
going into the ObjectInspector structure.
serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java