Schema: remove from Avro lib generated types;
serialize as (JSON) String for others
AnnotationIntrospector that supports Apache Avro lib
annotations
java.lang.Object .
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected AnnotationIntrospector | |
| protected static final AvroAnnotationIntrospector | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public String | getModuleName()
Implements abstract tools. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them. |
| public void | setupModule(JacksonModule.
Implements abstract tools. Method called by |
| public Version | version()
Implements abstract tools. Implements tools. Method that returns version of this module. |
| public AvroModule | withAnnotationIntrospector(AnnotationIntrospector intr)
Fluent method that configures this module instance |
| _intr | back to summary |
|---|---|
| protected AnnotationIntrospector _intr | |
| INTR | back to summary |
|---|---|
| protected static final AvroAnnotationIntrospector INTR | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AvroModule | back to summary |
|---|---|
| public AvroModule() | |
| _addDeserializers | back to summary |
|---|---|
| protected void _addDeserializers(JacksonModule. | |
| _addIntrospector | back to summary |
|---|---|
| protected void _addIntrospector(JacksonModule. | |
| _addModifiers | back to summary |
|---|---|
| protected void _addModifiers(JacksonModule. | |
| _addSerializers | back to summary |
|---|---|
| protected void _addSerializers(JacksonModule. | |
| getModuleName | back to summary |
|---|---|
| public String getModuleName() Implements abstract tools. Doc from tools. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.
| |
| setupModule | back to summary |
|---|---|
| public void setupModule(JacksonModule. Implements abstract tools. Doc from tools. Method called by
| |
| version | back to summary |
|---|---|
| public Version version() Implements abstract tools. Implements tools. Doc from tools. Method that returns version of this module. Can be used by Jackson for informational purposes.
| |
| withAnnotationIntrospector | back to summary |
|---|---|
| public AvroModule withAnnotationIntrospector(AnnotationIntrospector intr) Fluent method that configures this module instance | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | serialize(Schema value, JsonGenerator gen, SerializationContext prov)
Implements abstract tools. Method that can be called to ask implementation to serialize values of type this serializer handles. |
| SchemaSerializer | back to summary |
|---|---|
| public SchemaSerializer() | |
| serialize | back to summary |
|---|---|
| public void serialize(Schema value, JsonGenerator gen, SerializationContext prov) throws JacksonException Implements abstract tools. Doc from tools. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |