@Internal public class ByteBuddyUtils extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ByteBuddyUtils.ConvertType
Give a Java type, returns the Java type expected for use with Row.
|
static class |
ByteBuddyUtils.ConvertValueForGetter
Takes a
StackManipulation that returns a value. |
static class |
ByteBuddyUtils.ConvertValueForSetter
Row is going to call the setter with its internal Java type, however the user object being set
might have a different type internally.
|
static class |
ByteBuddyUtils.DefaultTypeConversionsFactory |
static class |
ByteBuddyUtils.InjectPackageStrategy
A naming strategy for ByteBuddy classes.
|
static class |
ByteBuddyUtils.TransformingMap<K1,V1,K2,V2> |
static class |
ByteBuddyUtils.TypeConversion<T> |
static interface |
ByteBuddyUtils.TypeConversionsFactory |
Constructor and Description |
---|
ByteBuddyUtils() |
Modifier and Type | Method and Description |
---|---|
static <K1,V1,K2,V2> |
getTransformingMap(java.util.Map<K1,V1> sourceMap,
org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<K1,K2> keyFunction,
org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<V1,V2> valueFunction) |
static <ObjectT,ValueT> |
subclassGetterInterface(ByteBuddy byteBuddy,
java.lang.reflect.Type objectType,
java.lang.reflect.Type fieldType) |
static <ObjectT,ValueT> |
subclassSetterInterface(ByteBuddy byteBuddy,
java.lang.reflect.Type objectType,
java.lang.reflect.Type fieldType) |
static <FromT,DestT> |
transformContainer(java.lang.Iterable<FromT> iterable,
org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<FromT,DestT> function) |
public static <ObjectT,ValueT> DynamicType.Builder<FieldValueGetter<ObjectT,ValueT>> subclassGetterInterface(ByteBuddy byteBuddy, java.lang.reflect.Type objectType, java.lang.reflect.Type fieldType)
public static <ObjectT,ValueT> DynamicType.Builder<FieldValueSetter<ObjectT,ValueT>> subclassSetterInterface(ByteBuddy byteBuddy, java.lang.reflect.Type objectType, java.lang.reflect.Type fieldType)
public static <FromT,DestT> java.lang.Iterable<DestT> transformContainer(java.lang.Iterable<FromT> iterable, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<FromT,DestT> function)
public static <K1,V1,K2,V2> ByteBuddyUtils.TransformingMap<K1,V1,K2,V2> getTransformingMap(java.util.Map<K1,V1> sourceMap, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<K1,K2> keyFunction, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<V1,V2> valueFunction)