edits.put("decimal", StringValueSerdeFactory.DECIMAL);
edits.put("date", StringValueSerdeFactory.DATE);
edits.put("datetime", StringValueSerdeFactory.DATETIME);
ParquetFileFormat<WithStringSupports> format = format(WithStringSupports.class, edits);
WithStringSupports in = new WithStringSupports();
in.decimal.modify(new BigDecimal("123.45"));
in.date.modify(new Date(2014, 7, 1));
in.datetime.modify(new DateTime(2014, 7, 1, 12, 34, 56));
WithStringSupports out = restore(format, in);
assertThat(out.decimal, is(in.decimal));
assertThat(out.date, is(in.date));
assertThat(out.datetime, is(in.datetime));
}