public class AutoValueSchema extends GetterBasedSchemaProviderV2
SchemaProvider for AutoValue classes.| Modifier and Type | Class and Description |
|---|---|
static class |
AutoValueSchema.AbstractGetterTypeSupplier
FieldValueTypeSupplier that's based on AutoValue getters. |
| Constructor and Description |
|---|
AutoValueSchema() |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<FieldValueGetter<T,java.lang.Object>> |
fieldValueGetters(TypeDescriptor<T> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.fieldValueGetters(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
java.util.List<FieldValueTypeInformation> |
fieldValueTypeInformations(TypeDescriptor<?> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.fieldValueTypeInformations(Class, Schema) for backwards
compatibility, override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
<T> @Nullable Schema |
schemaFor(TypeDescriptor<T> typeDescriptor)
Lookup a schema for the given type.
|
SchemaUserTypeCreator |
schemaTypeCreator(TypeDescriptor<?> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.schemaTypeCreator(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
fieldValueGetters, fieldValueTypeInformations, schemaTypeCreatorequals, fromRowFunction, hashCode, toRowFunctionpublic <T> java.util.List<FieldValueGetter<T,java.lang.Object>> fieldValueGetters(TypeDescriptor<T> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProviderGetterBasedSchemaProvider.fieldValueGetters(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure.fieldValueGetters in class GetterBasedSchemaProviderV2public java.util.List<FieldValueTypeInformation> fieldValueTypeInformations(TypeDescriptor<?> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProviderGetterBasedSchemaProvider.fieldValueTypeInformations(Class, Schema) for backwards
compatibility, override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure.fieldValueTypeInformations in class GetterBasedSchemaProviderV2public SchemaUserTypeCreator schemaTypeCreator(TypeDescriptor<?> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProviderGetterBasedSchemaProvider.schemaTypeCreator(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure.schemaTypeCreator in class GetterBasedSchemaProviderV2public <T> @Nullable Schema schemaFor(TypeDescriptor<T> typeDescriptor)
SchemaProvider