## Uses of Class
com.fasterxml.jackson.dataformat.avro.AvroSchema

- Packages that use AvroSchema
  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.

- - ### Uses of AvroSchema in com.fasterxml.jackson.dataformat.avro

    Fields in com.fasterxml.jackson.dataformat.avro declared as AvroSchema
    Modifier and Type | Field and Description
    --- | ---
    `protected AvroSchema` | AvroParser.`_rootSchema`
    `protected AvroSchema` | AvroGenerator.`_rootSchema`

    Methods in com.fasterxml.jackson.dataformat.avro that return AvroSchema
    Modifier and Type | Method and Description
    --- | ---
    `AvroSchema` | AvroParser.`getSchema()`
    `AvroSchema` | AvroGenerator.`getSchema()`
    `AvroSchema` | AvroMapper.`schemaFor(Class<?> type)` Factory method for constructing `AvroSchema` by introspecting given POJO type and building schema that contains specified properties.
    `AvroSchema` | AvroMapper.`schemaFor(com.fasterxml.jackson.databind.JavaType type)` Factory method for constructing `AvroSchema` by introspecting given POJO type and building schema that contains specified properties.
    `AvroSchema` | AvroMapper.`schemaFrom(File schemaFile)` Convenience method for reading `AvroSchema` from 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 `AvroSchema` from 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.

    Methods in com.fasterxml.jackson.dataformat.avro with parameters of type AvroSchema
    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.

  - ### Uses of AvroSchema in com.fasterxml.jackson.dataformat.avro.deser

    Methods in com.fasterxml.jackson.dataformat.avro.deser with parameters of type AvroSchema
    Modifier and Type | Method and Description
    --- | ---
    `void` | AvroParserImpl.`_initSchema(AvroSchema schema)`

  - ### Uses of AvroSchema in com.fasterxml.jackson.dataformat.avro.schema

    Methods in com.fasterxml.jackson.dataformat.avro.schema that return AvroSchema
    Modifier and Type | Method and Description
    --- | ---
    `AvroSchema` | AvroSchemaGenerator.`getGeneratedSchema()`

    Methods in com.fasterxml.jackson.dataformat.avro.schema with parameters of type AvroSchema
    Modifier and Type | Method and Description
    --- | ---
    `void` | VisitorFormatWrapperImpl.`expectAvroFormat(AvroSchema schema)`

Copyright © 2019 FasterXML. All rights reserved.