Class ReadableCustomMetadataSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<Map<String,CustomMetadataAttributes>>
com.atlan.serde.ReadableCustomMetadataSerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable

public class ReadableCustomMetadataSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Map<String,CustomMetadataAttributes>>
Custom serialization of a map of custom metadata. In particular, this retains human-readable names throughout.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(Map<String,CustomMetadataAttributes> cmMap, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp)
    void
    serializeWithType(Map<String,CustomMetadataAttributes> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReadableCustomMetadataSerializer

      public ReadableCustomMetadataSerializer()
    • ReadableCustomMetadataSerializer

      public ReadableCustomMetadataSerializer(Class<Map<String,CustomMetadataAttributes>> t)
  • Method Details

    • serializeWithType

      public void serializeWithType(Map<String,CustomMetadataAttributes> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
      Overrides:
      serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<Map<String,CustomMetadataAttributes>>
      Throws:
      IOException
    • serialize

      public void serialize(Map<String,CustomMetadataAttributes> cmMap, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Map<String,CustomMetadataAttributes>>
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonProcessingException