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) |
AvroSchema |
AvroMapper.schemaFor(com.fasterxml.jackson.databind.JavaType type) |
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. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AvroParser._initSchema(AvroSchema schema) |
void |
AvroGenerator.setSchema(AvroSchema schema) |
Modifier and Type | Method and Description |
---|---|
protected void |
AvroParserImpl._initSchema(AvroSchema schema) |
Modifier and Type | Method and Description |
---|---|
AvroSchema |
AvroSchemaGenerator.getGeneratedSchema() |
Copyright © 2016 FasterXML. All rights reserved.