public PrimitiveTypeEntry getPrimitiveTypeEntry() {
    if (typeEntry == null) {
      typeEntry = PrimitiveObjectInspectorUtils.getTypeEntryFromTypeName(typeName);
    }
    return typeEntry;
  }
Returns the category of this TypeInfo.
serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/PrimitiveTypeInfo.java