Package org.apache.avro
Class SchemaBuilder.NamespacedBuilder<R,S extends SchemaBuilder.NamespacedBuilder<R,S>>
java.lang.Object
org.apache.avro.SchemaBuilder.PropBuilder<S>
org.apache.avro.SchemaBuilder.NamedBuilder<S>
org.apache.avro.SchemaBuilder.NamespacedBuilder<R,S>
- Direct Known Subclasses:
SchemaBuilder.EnumBuilder
,SchemaBuilder.FixedBuilder
,SchemaBuilder.RecordBuilder
- Enclosing class:
SchemaBuilder
public abstract static class SchemaBuilder.NamespacedBuilder<R,S extends SchemaBuilder.NamespacedBuilder<R,S>>
extends SchemaBuilder.NamedBuilder<S>
An abstract type that provides builder methods for configuring the namespace
for all Avro types that have namespaces (Fixed, Record, and Enum).
-
Constructor Summary
ModifierConstructorDescriptionprotected
NamespacedBuilder
(org.apache.avro.SchemaBuilder.Completion<R> context, org.apache.avro.SchemaBuilder.NameContext names, String name) -
Method Summary
Methods inherited from class org.apache.avro.SchemaBuilder.NamedBuilder
aliases, doc
Methods inherited from class org.apache.avro.SchemaBuilder.PropBuilder
prop, prop, self
-
Constructor Details
-
NamespacedBuilder
-
-
Method Details
-
namespace
Set the namespace of this type. To clear the namespace, set empty string. When the namespace is null or unset, the namespace of the type defaults to the namespace of the enclosing context.
-