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 @Nullable TypeDescriptor
<?> getBaseAutoValueClass
(TypeDescriptor<?> typeDescriptor) static @Nullable SchemaUserTypeCreator
getBuilderCreator
(Class<?> clazz, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible builder class for creating an AutoValue class.static @Nullable SchemaUserTypeCreator
getConstructorCreator
(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
-
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(Class<?> clazz, Schema schema, FieldValueTypeSupplier fieldValueTypeSupplier) Try to find an accessible builder class for creating an AutoValue class. Otherwise return null.
-