Package org.apache.avro
Class SchemaBuilder.ArrayDefault<R>
java.lang.Object
org.apache.avro.SchemaBuilder.FieldDefault<R,SchemaBuilder.ArrayDefault<R>>
org.apache.avro.SchemaBuilder.ArrayDefault<R>
- Enclosing class:
SchemaBuilder
public static class SchemaBuilder.ArrayDefault<R>
extends SchemaBuilder.FieldDefault<R,SchemaBuilder.ArrayDefault<R>>
Choose whether to use a default value for the field or not.
-
Method Summary
Modifier and TypeMethodDescriptionfinal <V> SchemaBuilder.FieldAssembler
<R> arrayDefault
(List<V> defaultVal) Completes this field with the default value provided, cannot be nullMethods inherited from class org.apache.avro.SchemaBuilder.FieldDefault
noDefault
-
Method Details
-
arrayDefault
Completes this field with the default value provided, cannot be null
-