Class ByteBuddyUtils.ConvertValueForSetter
java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.TypeConversion<StackManipulation>
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.ConvertValueForSetter
- Direct Known Subclasses:
AvroUtils.AvroConvertValueForSetter
- Enclosing class:
ByteBuddyUtils
public static class ByteBuddyUtils.ConvertValueForSetter
extends ByteBuddyUtils.TypeConversion<StackManipulation>
Row is going to call the setter with its internal Java type, however the user object being set
might have a different type internally. For example, Row will be calling set with a
String
type (for string fields), but the user type might have a StringBuffer
member
there. This class generates code to convert between these types.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StackManipulation
convertArray
(TypeDescriptor<?> type) protected StackManipulation
convertByteBuffer
(TypeDescriptor<?> type) protected StackManipulation
convertCharSequence
(TypeDescriptor<?> type) protected StackManipulation
convertCollection
(TypeDescriptor<?> type) protected StackManipulation
convertDateTime
(TypeDescriptor<?> type) protected StackManipulation
convertDefault
(TypeDescriptor<?> type) protected StackManipulation
convertEnum
(TypeDescriptor<?> type) protected StackManipulation
convertIterable
(TypeDescriptor<?> type) protected StackManipulation
convertList
(TypeDescriptor<?> type) protected StackManipulation
convertMap
(TypeDescriptor<?> type) protected StackManipulation
convertPrimitive
(TypeDescriptor<?> type) protected ByteBuddyUtils.TypeConversionsFactory
Methods inherited from class org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.TypeConversion
convert, shortCircuitReturnNull
-
Field Details
-
readValue
-
-
Constructor Details
-
ConvertValueForSetter
-
-
Method Details
-
getFactory
-
convertArray
- Specified by:
convertArray
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertIterable
- Specified by:
convertIterable
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertCollection
- Specified by:
convertCollection
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertList
- Specified by:
convertList
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertMap
- Specified by:
convertMap
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertDateTime
- Specified by:
convertDateTime
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertByteBuffer
- Specified by:
convertByteBuffer
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertCharSequence
- Specified by:
convertCharSequence
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertPrimitive
- Specified by:
convertPrimitive
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertEnum
- Specified by:
convertEnum
in classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertDefault
- Specified by:
convertDefault
in classByteBuddyUtils.TypeConversion<StackManipulation>
-