Class ByteBuddyUtils
java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGive a Java type, returns the Java type expected for use with Row.static classTakes aStackManipulationthat returns a value.static classRow is going to call the setter with its internal Java type, however the user object being set might have a different type internally.static classstatic classA naming strategy for ByteBuddy classes.static classstatic classstatic 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)
-