Class SchemaBuilder.ArrayBuilder<R>

Enclosing class:
SchemaBuilder

public static final class SchemaBuilder.ArrayBuilder<R> extends SchemaBuilder.PropBuilder<SchemaBuilder.ArrayBuilder<R>>
Builds an Avro Array type with optional properties.

Set properties with SchemaBuilder.PropBuilder.prop(String, String).

The Array schema's properties are finalized when items() or items(Schema) is called.

  • Constructor Details

    • ArrayBuilder

      public ArrayBuilder(org.apache.avro.SchemaBuilder.Completion<R> context, org.apache.avro.SchemaBuilder.NameContext names)
  • Method Details