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