Class AutoValueUtils
java.lang.Object
org.apache.beam.sdk.schemas.utils.AutoValueUtils
Utilities for managing AutoValue schemas.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDescriptor<?> getAutoValueGenerated(TypeDescriptor<?> typeDescriptor) static @Nullable TypeDescriptor<?> getAutoValueGeneratedBuilder(TypeDescriptor<?> typeDescriptor) static @Nullable TypeDescriptor<?> getBaseAutoValueClass(TypeDescriptor<?> typeDescriptor) static @Nullable SchemaUserTypeCreatorgetBuilderCreator(TypeDescriptor<?> typeDescriptor, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible builder class for creating an AutoValue class.static @Nullable SchemaUserTypeCreatorgetConstructorCreator(TypeDescriptor<?> typeDescriptor, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible constructor for creating an AutoValue class.
-
Constructor Details
-
AutoValueUtils
public AutoValueUtils()
-
-
Method Details
-
getBaseAutoValueClass
-
getAutoValueGenerated
-
getAutoValueGeneratedBuilder
public static @Nullable TypeDescriptor<?> getAutoValueGeneratedBuilder(TypeDescriptor<?> typeDescriptor) -
getConstructorCreator
public static @Nullable SchemaUserTypeCreator getConstructorCreator(TypeDescriptor<?> typeDescriptor, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible constructor for creating an AutoValue class. Otherwise return null. -
getBuilderCreator
public static @Nullable SchemaUserTypeCreator getBuilderCreator(TypeDescriptor<?> typeDescriptor, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible builder class for creating an AutoValue class. Otherwise return null.
-