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