Class ByteBuddyUtils

java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils

@Internal public class ByteBuddyUtils extends Object
  • 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

      public 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)
    • getTransformingMap

      public static <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)