Package | Description |
---|---|
org.apache.avro |
Avro kernel classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
SchemaBuilder.TypeBuilder<R>
A Builder for creating any Avro schema type.
|
Modifier and Type | Method and Description |
---|---|
SchemaBuilder.BaseTypeBuilder<SchemaBuilder.UnionAccumulator<R>> |
SchemaBuilder.UnionAccumulator.and()
Add an additional type to this union
|
static SchemaBuilder.BaseTypeBuilder<Schema> |
SchemaBuilder.nullable()
Create a builder for a union of a type and null.
|
protected SchemaBuilder.BaseTypeBuilder<R> |
SchemaBuilder.BaseTypeBuilder.nullable()
A shortcut for building a union of a type and null.
|
SchemaBuilder.BaseTypeBuilder<R> |
SchemaBuilder.TypeBuilder.nullable() |
SchemaBuilder.BaseTypeBuilder<SchemaBuilder.FieldAssembler<R>> |
SchemaBuilder.FieldTypeBuilder.optional()
A shortcut for building a union of null and a type, with a null default.
|
static SchemaBuilder.BaseTypeBuilder<SchemaBuilder.UnionAccumulator<Schema>> |
SchemaBuilder.unionOf()
Create a builder for an Avro union This is equivalent to:
|
protected SchemaBuilder.BaseTypeBuilder<SchemaBuilder.UnionAccumulator<R>> |
SchemaBuilder.BaseTypeBuilder.unionOf()
Build an Avro union schema type.
|
SchemaBuilder.BaseTypeBuilder<SchemaBuilder.UnionAccumulator<R>> |
SchemaBuilder.TypeBuilder.unionOf() |
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.