Package org.apache.avro
Class SchemaBuilder.NullDefault<R>
java.lang.Object
org.apache.avro.SchemaBuilder.FieldDefault<R,SchemaBuilder.NullDefault<R>>
org.apache.avro.SchemaBuilder.NullDefault<R>
- Enclosing class:
SchemaBuilder
public static class SchemaBuilder.NullDefault<R>
extends SchemaBuilder.FieldDefault<R,SchemaBuilder.NullDefault<R>>
Choose whether to use a default value for the field or not.
-
Method Summary
Modifier and TypeMethodDescriptionfinal SchemaBuilder.FieldAssembler
<R> Completes this field with a default value of nullMethods inherited from class org.apache.avro.SchemaBuilder.FieldDefault
noDefault
-
Method Details
-
nullDefault
Completes this field with a default value of null
-