@Experimental(value=SCHEMAS) public abstract class GetterBasedSchemaProvider extends java.lang.Object implements SchemaProvider
SchemaProvider base class that vends schemas and rows based on FieldValueGetters.| Constructor and Description | 
|---|
| GetterBasedSchemaProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> SerializableFunction<Row,T> | fromRowFunction(TypeDescriptor<T> typeDescriptor)Given a type, returns a function that converts from a  Rowobject to that type. | 
| <T> SerializableFunction<T,Row> | toRowFunction(TypeDescriptor<T> typeDescriptor)Given a type, return a function that converts that type to a  Rowobject If no schema
 exists, returns null. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitschemaForpublic <T> SerializableFunction<T,Row> toRowFunction(TypeDescriptor<T> typeDescriptor)
SchemaProviderRow object If no schema
 exists, returns null.toRowFunction in interface SchemaProviderpublic <T> SerializableFunction<Row,T> fromRowFunction(TypeDescriptor<T> typeDescriptor)
SchemaProviderRow object to that type. If no
 schema exists, returns null.fromRowFunction in interface SchemaProvider