parquet-thrift/src/main/java/org/apache/parquet/hadoop/thrift/ThriftReadSupport.java
public static void setRecordConverterClass(Configuration conf,
                                             Class<?> klass) {
    conf.set(RECORD_CONVERTER_CLASS_KEY, klass.getName());
  }
public static void setRecordConverterClass(Configuration conf,
                                             Class<?> klass) {
    conf.set(RECORD_CONVERTER_CLASS_KEY, klass.getName());
  }
A {@link ThriftRecordConverter} builds an object by working with {@link TProtocol}. The default
implementation creates standard Apache Thrift {@link TBase} objects; to support alternatives, such
as <a href="http://github.com/twitter/scrooge">Twiter's Scrooge</a>, a custom converter can be specified
(for example, ScroogeRecordConverter from parquet-scrooge).

@param conf a configuration
@param klass a thrift class