// If we get any GenericRecord types, convert them to our own specific types
// if we can figure out which to use. This makes toString'ing prettier.
if (fieldVal instanceof GenericRecord) {
GenericRecord record = (GenericRecord) fieldVal;
if (record.getSchema().equals(TimestampBase.SCHEMA$)) {
fieldVal = new Timestamp((Long) record.get("milliseconds"),
(Long) record.get("nanos"));
}
}
if (null == fieldVal) {