Class ByteBuddyUtils
java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Give a Java type, returns the Java type expected for use with Row.static class
Takes aStackManipulation
that returns a value.static class
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
static class
A naming strategy for ByteBuddy classes.static class
static class
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K1,
V1, K2, V2>
ByteBuddyUtils.TransformingMap<K1, V1, K2, V2> getTransformingMap
(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>
DynamicType.Builder<FieldValueGetter<@NonNull ObjectT, ValueT>> subclassGetterInterface
(ByteBuddy byteBuddy, Type objectType, Type fieldType) static <ObjectT,
ValueT>
DynamicType.Builder<FieldValueSetter<ObjectT, ValueT>> subclassSetterInterface
(ByteBuddy byteBuddy, Type objectType, Type fieldType) static <FromT,
DestT>
Iterable<DestT> transformContainer
(Iterable<FromT> iterable, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<FromT, DestT> function)
-
Constructor Details
-
ByteBuddyUtils
public ByteBuddyUtils()
-
-
Method Details
-
subclassGetterInterface
public static <ObjectT,ValueT> DynamicType.Builder<FieldValueGetter<@NonNull ObjectT,ValueT>> subclassGetterInterface(ByteBuddy byteBuddy, Type objectType, Type fieldType) -
subclassSetterInterface
public static <ObjectT,ValueT> DynamicType.Builder<FieldValueSetter<ObjectT,ValueT>> subclassSetterInterface(ByteBuddy byteBuddy, Type objectType, Type fieldType) -
transformContainer
-
getTransformingMap
public static <K1,V1, ByteBuddyUtils.TransformingMap<K1,K2, V2> V1, getTransformingMapK2, V2> (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)
-