public class AutoValueSchema extends GetterBasedSchemaProvider
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> Schema |
schemaFor(TypeDescriptor<T> typeDescriptor)
Lookup a schema for the given type.
|
fromRowFunction, toRowFunction
@Nullable public <T> Schema schemaFor(TypeDescriptor<T> typeDescriptor)
SchemaProvider