return createFieldReader(field.name(), field.schema());
}
private AvroFieldWrapper createFieldReader(String name, Schema type)
{
AvroScalarReader scalar = createDecoder(type);
if (scalar != null) {
return new AvroFieldWrapper(name, scalar);
}
return new AvroFieldWrapper(name, createReader(type));
}