Class ByteBuddyUtils.ConvertValueForGetter
java.lang.Object
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.TypeConversion<StackManipulation>
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.ConvertValueForGetter
- Direct Known Subclasses:
AvroUtils.AvroConvertValueForGetter
- Enclosing class:
ByteBuddyUtils
public static class ByteBuddyUtils.ConvertValueForGetter
extends ByteBuddyUtils.TypeConversion<StackManipulation>
Takes a
StackManipulation
that returns a value. Prepares this value to be returned by a
getter. Row
needs getters to return specific types, but we
allow user objects to contain different but equivalent types. Therefore we must convert some of
these types before returning. These conversions correspond to the ones defined in ByteBuddyUtils.ConvertType
. This class generates the code to do these conversion.-
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
-
ConvertValueForGetter
-
-
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>
-