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 StackManipulationconvertArray(TypeDescriptor<?> type) protected StackManipulationconvertByteBuffer(TypeDescriptor<?> type) protected StackManipulationconvertCharSequence(TypeDescriptor<?> type) protected StackManipulationconvertCollection(TypeDescriptor<?> type) protected StackManipulationconvertDateTime(TypeDescriptor<?> type) protected StackManipulationconvertDefault(TypeDescriptor<?> type) protected StackManipulationconvertEnum(TypeDescriptor<?> type) protected StackManipulationconvertIterable(TypeDescriptor<?> type) protected StackManipulationconvertList(TypeDescriptor<?> type) protected StackManipulationconvertMap(TypeDescriptor<?> type) protected StackManipulationconvertPrimitive(TypeDescriptor<?> type) protected ByteBuddyUtils.TypeConversionsFactoryMethods 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:
convertArrayin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertIterable
- Specified by:
convertIterablein classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertCollection
- Specified by:
convertCollectionin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertList
- Specified by:
convertListin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertMap
- Specified by:
convertMapin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertDateTime
- Specified by:
convertDateTimein classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertByteBuffer
- Specified by:
convertByteBufferin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertCharSequence
- Specified by:
convertCharSequencein classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertPrimitive
- Specified by:
convertPrimitivein classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertEnum
- Specified by:
convertEnumin classByteBuddyUtils.TypeConversion<StackManipulation>
-
convertDefault
- Specified by:
convertDefaultin classByteBuddyUtils.TypeConversion<StackManipulation>
-