Class ByteBuddyUtils.ConvertType

java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.TypeConversion<Type>
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.ConvertType
Direct Known Subclasses:
AvroUtils.AvroConvertType
Enclosing class:
ByteBuddyUtils

public static class ByteBuddyUtils.ConvertType extends ByteBuddyUtils.TypeConversion<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>>