| Package | Description |
|---|---|
| org.apache.avro |
Avro kernel classes.
|
| Modifier and Type | Method and Description |
|---|---|
Schema.Type |
Schema.getType()
Return the type of this schema.
|
static Schema.Type |
Schema.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Type[] |
Schema.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Schema |
Schema.create(Schema.Type type)
Create a schema for a primitive type.
|
Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.