@Test void copySchema() { final Schema custom = factory .newSchemaBuilder(baseSchema) .withEntry(factory.newEntryBuilder().withName("custom").withType(STRING).build()) .build(); assertEquals("name/STRING/current name,age/INT/null,address/RECORD/@address,custom/STRING/null", custom .getEntries() .stream() .map(it -> it.getName() + '/' + it.getType() + '/' + it.getRawName()) .collect(joining(","))); }
@Override public Record build() { return new AvroRecord(super.build()); }
AvroRecordBuilder extends RecordImpl.BuilderImpl { @Override public Record build() { return new AvroRecord(super.build()); } }
AvroRecordBuilder extends RecordImpl.BuilderImpl { @Override public Record build() { return new AvroRecord(super.build()); } AvroRecordBuilder();  AvroRecordBuilder(final Schema providedSchema); }
AvroRecordBuilder extends RecordImpl.BuilderImpl { @Override public Record build() { return new AvroRecord(super.build()); } AvroRecordBuilder();  AvroRecordBuilder(final Schema providedSchema); @Override Record build(); }
AvroRecordBuilder extends RecordImpl.BuilderImpl { @Override public Record build() { return new AvroRecord(super.build()); } AvroRecordBuilder();  AvroRecordBuilder(final Schema providedSchema); @Override Record build();  }