Class Serde

java.lang.Object
com.atlan.serde.Serde

public class Serde extends Object
Utility class for static objects used for serialization and deserialization.
  • Field Details

    • DELETED_AUDIT_OBJECT

      public static final String DELETED_AUDIT_OBJECT
      See Also:
    • allInclusiveMapper

      public static final com.fasterxml.jackson.databind.ObjectMapper allInclusiveMapper
      Singular ObjectMapper through which to (de-)serialize raw POJOs, including all details, untranslated.
    • yamlMapper

      public static final com.fasterxml.jackson.databind.ObjectMapper yamlMapper
      Singular ObjectMapper through which to (de-)serialize raw POJOs and YAML.
  • Constructor Details

    • Serde

      public Serde()
  • Method Details

    • getAssetClassForType

      public static Class<?> getAssetClassForType(String typeName) throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • getRelationshipAttributesClassForType

      public static Class<?> getRelationshipAttributesClassForType(String typeName) throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • getBuilderClassForType

      public static Class<?> getBuilderClassForType(String typeName) throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • createMapper

      public static com.fasterxml.jackson.databind.ObjectMapper createMapper(AtlanClient client)
      Set up the tenant-specific serialization and deserialization.
      Parameters:
      client - providing connectivity to a specific Atlan tenant
      Returns:
      an ObjectMapper for the tenant-specific transformations
    • createMapperYAML

      public static com.fasterxml.jackson.databind.ObjectMapper createMapperYAML()
      Set up the serialization and deserialization of tenant-agnostic YAML.
      Returns:
      an ObjectMapper for tenant-agnostic YAML transformations