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