class GenericRowValueTypeEnforcer {

  public Object enforceFieldType(final int index, final Object value) {
    Field field = fields.get(index);
    return enforceFieldType(field.schema(), value);
  }

  public  GenericRowValueTypeEnforcer(final Schema schema);

}