class RowFactory implements Serializable {

  public <T> Row create(T pojo) {
    SchemaGetters getters = getRecordType(pojo.getClass());
    List<Object> fieldValues = getFieldValues(getters.valueGetters(), pojo);
    return Row.withSchema(getters.schema()).addValues(fieldValues).build();
  }

    RowFactory(SchemaFactory schemaFactory, GetterFactory... getterFactories);

}