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 | AvroModule.
References Deprecated
StdSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector | |
protected static final AvroAnnotationIntrospector |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected void | |
protected void | |
protected void | |
protected void | |
public String | getModuleName()
Implements abstract com. 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(Module.
Implements abstract com. Method called by |
public Version | version()
Implements abstract com. Implements com. 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 |
AvroModule | back to summary |
---|---|
public AvroModule() |
_addDeserializers | back to summary |
---|---|
protected void _addDeserializers(Module. |
_addIntrospector | back to summary |
---|---|
protected void _addIntrospector(Module. |
_addModifiers | back to summary |
---|---|
protected void _addModifiers(Module. |
_addSerializers | back to summary |
---|---|
protected void _addSerializers(Module. |
getModuleName | back to summary |
---|---|
public String getModuleName() Implements abstract com. Doc from com. 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(Module. Implements abstract com. Doc from com. Method called by
|
version | back to summary |
---|---|
public Version version() Implements abstract com. Implements com. Doc from com. 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
|
References Deprecated
StdSerializer
is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | serialize(Schema
Value to serialize; can not be null. value, JsonGenerator Generator used to output resulting Json content gen, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. prov)Implements abstract com. Method that can be called to ask implementation to serialize values of type this serializer handles. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides com. |
SchemaSerializer | back to summary |
---|---|
public SchemaSerializer() |
serialize | back to summary |
---|---|
public void serialize(Schema value, JsonGenerator gen, SerializerProvider prov) throws IOException Implements abstract com. Doc from com. Method that can be called to ask implementation to serialize values of type this serializer handles.
|