Package org.apache.avro
Class SchemaBuilder.BooleanBuilder<R>
java.lang.Object
org.apache.avro.SchemaBuilder.PropBuilder<SchemaBuilder.BooleanBuilder<R>>
org.apache.avro.SchemaBuilder.BooleanBuilder<R>
- Enclosing class:
SchemaBuilder
public static final class SchemaBuilder.BooleanBuilder<R>
extends SchemaBuilder.PropBuilder<SchemaBuilder.BooleanBuilder<R>>
Builds an Avro boolean type with optional properties. Set properties with
SchemaBuilder.PropBuilder.prop(String, String)
, and finalize with endBoolean()
-
Method Summary
Modifier and TypeMethodDescriptioncomplete building this type, return control to contextprotected SchemaBuilder.BooleanBuilder
<R> self()
a self-type for chaining builder subclasses.Methods inherited from class org.apache.avro.SchemaBuilder.PropBuilder
prop, prop
-
Method Details
-
self
Description copied from class:SchemaBuilder.PropBuilder
a self-type for chaining builder subclasses. Concrete subclasses must return 'this'- Specified by:
self
in classSchemaBuilder.PropBuilder<SchemaBuilder.BooleanBuilder<R>>
-
endBoolean
complete building this type, return control to context
-