class SqlRowTypeFactory implements RowTypeFactory {

  @Override
  public RowType createRowType(Iterable<FieldValueGetter> getters) {
    return
        RowType
            .fromNamesAndCoders(
                fieldNames(getters),
                sqlCoders(getters));
  }

}