return version;
}
protected static AvroRecordBuilder makeRecordBuilder (String name, Schema schema) {
AvroRecordBuilder b = new AvroRecordBuilder(name, schema);
ArrayList<Field> fields = (ArrayList<Field>) schema.getFields();
for (Field field : fields) {
if (field.schema().getType().getName().equalsIgnoreCase("fixed") || field.schema().getType().getName().equalsIgnoreCase("bitmap")) {
b.addItemBuilder(field.name(), new AvroFixedBuilder(field.name(), field.schema()));
if (field.defaultValue() == null)
b.notReadyToBinary();
} else if (field.schema().getType().getName().equalsIgnoreCase("record")) {
b.addItemBuilder(field.name(), makeRecordBuilder(field.name(), field.schema()));
if (field.defaultValue() == null)
b.notReadyToBinary();
}/* else if (field.schema().getType().getName().equalsIgnoreCase("union")) {
b.addItemBuilder(field.name(), new AvroUnionBuilder(field.name(), field.schema()));
b.notReadyToBinary();
} else if (field.schema().getType().getName().equalsIgnoreCase("array")) {
b.addItemBuilder(field.name(), new AvroArrayBuilder(field.name(), field.schema()));