Top Description Fields Constructors Methods
tools.jackson.dataformat.avro.schema

public Class DefinedSchemas

extends Object
Class Inheritance
Imports
java.util.LinkedHashMap, .Map, org.apache.avro.Schema, tools.jackson.databind.JavaType, .SerializationContext

Simple container for Schemas that have already been generated during generation process; used to share definitions.

Field Summary

Modifier and TypeField and Description
protected final Map<JavaType, Schema>
protected SerializationContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addSchema(JavaType type, Schema schema)

public Schema
public SerializationContext
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_schemasback to summary
protected final Map<JavaType, Schema> _schemas
_serializationContextback to summary
protected SerializationContext _serializationContext

Constructor Detail

DefinedSchemasback to summary
public DefinedSchemas()

Method Detail

addSchemaback to summary
public void addSchema(JavaType type, Schema schema)
findSchemaback to summary
public Schema findSchema(JavaType type)
getContextback to summary
public SerializationContext getContext()
setContextback to summary
public void setContext(SerializationContext ctxt)