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