Package org.apache.avro
Class SchemaBuilder.GenericDefault<R>
java.lang.Object
org.apache.avro.SchemaBuilder.GenericDefault<R>
- Enclosing class:
SchemaBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDo not use a default value for this field.withDefault
(Object defaultVal) Completes this field with the default value provided.
-
Method Details
-
noDefault
Do not use a default value for this field. -
withDefault
Completes this field with the default value provided. The value must conform to the schema of the field.
-