| Package | Description | 
|---|---|
| com.fasterxml.jackson.dataformat.avro | |
| com.fasterxml.jackson.dataformat.avro.deser | |
| com.fasterxml.jackson.dataformat.avro.schema | Package that contains functionality for generating Avro Schemas
out of POJOs as seen by Jackson databind; similar to how Jackson's
JSON Schema generation works but producing different output. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected AvroSchema | AvroParser. _rootSchema | 
| protected AvroSchema | AvroGenerator. _rootSchema | 
| Modifier and Type | Method and Description | 
|---|---|
| AvroSchema | AvroParser. getSchema() | 
| AvroSchema | AvroGenerator. getSchema() | 
| AvroSchema | AvroMapper. schemaFor(Class<?> type)Factory method for constructing  AvroSchemaby introspecting given
 POJO type and building schema that contains specified properties. | 
| AvroSchema | AvroMapper. schemaFor(com.fasterxml.jackson.databind.JavaType type)Factory method for constructing  AvroSchemaby introspecting given
 POJO type and building schema that contains specified properties. | 
| AvroSchema | AvroMapper. schemaFrom(File schemaFile)Convenience method for reading  AvroSchemafrom given
 encoded JSON representation. | 
| AvroSchema | AvroMapper. schemaFrom(InputStream in)Method for reading an Avro Schema from given  InputStream,
 and once done (successfully or not), closing the stream. | 
| AvroSchema | AvroMapper. schemaFrom(String schemaAsString)Convenience method for reading  AvroSchemafrom given
 encoded JSON representation. | 
| AvroSchema | AvroSchema. withReaderSchema(AvroSchema readerSchema)Method that will consider this schema instance (used as so-called "Writer Schema"),
 and specified "Reader Schema" instance, and will either construct a new schema
 with appropriate translations, to use for reading (if reader and writer schemas are
 not same); or, if schemas are the same, return `this`. | 
| AvroSchema | AvroSchema. withUnsafeReaderSchema(AvroSchema readerSchema)Similar to  withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema)but will NOT verify compatibility of schemas:
 this means that certain problems (such as missing default value for a newly added
 field) that would be caught at construction may be surfaced later when using
 schema. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | AvroParser. _initSchema(AvroSchema schema) | 
| void | AvroGenerator. setSchema(AvroSchema schema) | 
| AvroSchema | AvroSchema. withReaderSchema(AvroSchema readerSchema)Method that will consider this schema instance (used as so-called "Writer Schema"),
 and specified "Reader Schema" instance, and will either construct a new schema
 with appropriate translations, to use for reading (if reader and writer schemas are
 not same); or, if schemas are the same, return `this`. | 
| AvroSchema | AvroSchema. withUnsafeReaderSchema(AvroSchema readerSchema)Similar to  withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema)but will NOT verify compatibility of schemas:
 this means that certain problems (such as missing default value for a newly added
 field) that would be caught at construction may be surfaced later when using
 schema. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AvroParserImpl. _initSchema(AvroSchema schema) | 
| Modifier and Type | Method and Description | 
|---|---|
| AvroSchema | AvroSchemaGenerator. getGeneratedSchema() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | VisitorFormatWrapperImpl. expectAvroFormat(AvroSchema schema) | 
Copyright © 2017 FasterXML. All rights reserved.