Package org.apache.avro
Class SchemaBuilder.FloatBuilder<R>
java.lang.Object
org.apache.avro.SchemaBuilder.PropBuilder<SchemaBuilder.FloatBuilder<R>>
org.apache.avro.SchemaBuilder.FloatBuilder<R>
- Enclosing class:
SchemaBuilder
public static final class SchemaBuilder.FloatBuilder<R>
extends SchemaBuilder.PropBuilder<SchemaBuilder.FloatBuilder<R>>
Builds an Avro float type with optional properties. Set properties with
SchemaBuilder.PropBuilder.prop(String, String)
, and finalize with endFloat()
-
Method Summary
Modifier and TypeMethodDescriptionendFloat()
complete building this type, return control to contextprotected SchemaBuilder.FloatBuilder
<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.FloatBuilder<R>>
-
endFloat
complete building this type, return control to context
-