pig/src/main/java/com/twitter/elephantbird/pig/util/PigUtil.java
public static<T extends TBase<?,?>> TypeRef<T> getThriftTypeRef(String thriftClassName) {
    return ThriftUtils.getTypeRef(getClass(thriftClassName));
  }
public static<T extends TBase<?,?>> TypeRef<T> getThriftTypeRef(String thriftClassName) {
    return ThriftUtils.getTypeRef(getClass(thriftClassName));
  }
public static < T extends TBase < ? , ? > > TypeRef < T > getThriftTypeRef ( String thriftClassName ) { return ThriftUtils . getTypeRef ( getClass ( thriftClassName ) ) ; }
Returns TypeRef using Pig class loader.
Returns TypeRef using Pig class loader .