@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.v26_0_jre.com.google.common.base.Function<K1,K2> keyFunction,
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Function<V1,V2> valueFunction) |
static org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.dynamic.DynamicType.Builder<FieldValueGetter> |
subclassGetterInterface(org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.ByteBuddy byteBuddy,
java.lang.reflect.Type objectType,
java.lang.reflect.Type fieldType) |
static org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.dynamic.DynamicType.Builder<FieldValueSetter> |
subclassSetterInterface(org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.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.v26_0_jre.com.google.common.base.Function<FromT,DestT> function) |
public static org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.dynamic.DynamicType.Builder<FieldValueGetter> subclassGetterInterface(org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.ByteBuddy byteBuddy, java.lang.reflect.Type objectType, java.lang.reflect.Type fieldType)
public static org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.dynamic.DynamicType.Builder<FieldValueSetter> subclassSetterInterface(org.apache.beam.vendor.bytebuddy.v1_10_8.net.bytebuddy.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.v26_0_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.v26_0_jre.com.google.common.base.Function<K1,K2> keyFunction, org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Function<V1,V2> valueFunction)