@Override
  public void initialize(Configuration configuration, Properties tableProperties, Properties partitionProperties)
      throws SerDeException {
    super.initialize(configuration, tableProperties, partitionProperties);

    log.debug("Initializing HCatRecordSerDe");

    rowTypeInfo = (StructTypeInfo) TypeInfoFactory.getStructTypeInfo(getColumnNames(), getColumnTypes());
    cachedObjectInspector = HCatRecordObjectInspectorFactory.getHCatRecordObjectInspector(rowTypeInfo);
  }
SerDe class for serializing to and from HCatRecord.
hcatalog/core/src/main/java/org/apache/hive/hcatalog/data/HCatRecordSerDe.java