public static <T> void setThriftClass(JobConf conf, Class<T> klass) {
    conf.set(ThriftReadSupport.THRIFT_READ_CLASS_KEY, klass.getName());
  }
public static <T> void setThriftClass(JobConf conf, Class<T> klass) {
    conf.set(ThriftReadSupport.THRIFT_READ_CLASS_KEY, klass.getName());
  }
public static < T > void setThriftClass ( JobConf conf , Class < T > klass ) { conf . set ( ThriftReadSupport . THRIFT_READ_CLASS_KEY , klass . getName ( ) ) ; }
Call this method when setting up your Hadoop job if reading into a Thrift object
that is not encoded into the parquet-serialized thrift metadata (for example,
writing with Apache Thrift, but reading back into Twitter Scrooge version of
the same thrift definition, or a different but compatible Apache Thrift class).
@param conf a mapred jobconf
@param klass a thrift class
@param <T> the Java type of records the configured ReadSupport will produce
Call this method when setting up your Hadoop job if reading into a Thrift object that is not encoded into the parquet - serialized thrift metadata ( for example writing with Apache Thrift but reading back into Twitter Scrooge version of the same thrift definition or a different but compatible Apache Thrift class ) .