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