Class ByteBuddyUtils.ConvertType

  • Direct Known Subclasses:
    AvroUtils.AvroConvertType
    Enclosing class:
    ByteBuddyUtils

    public static class ByteBuddyUtils.ConvertType
    extends ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
    Give a Java type, returns the Java type expected for use with Row. For example, both StringBuffer and String are represented as a String in Row. This determines what the return type of the getter will be. For instance, the following POJO class:
    
     class POJO {
       StringBuffer str;
       int[] array;
     }
     
    Generates the following getters:
    FieldValueGetter<POJO, String>
    FieldValueGetter<POJO, List<Integer>>