Class Converter


  • public class Converter
    extends Object
    The converter is used for creating and mapping required properties between different objects.
    • Method Detail

      • createLineageEntity

        public LineageEntity createLineageEntity​(EntityDetail entityDetail)
        Create entity lineage entity.
        Parameters:
        entityDetail - the entity detail
        Returns:
        the lineage entity
      • createLineageEntityFromProxy

        public LineageEntity createLineageEntityFromProxy​(EntityProxy entityProxy)
        Create entity lineage entity starting from an entity proxy
        Parameters:
        entityProxy - the entity proxy
        Returns:
        the lineage entity
      • createLineageRelationship

        public LineageRelationship createLineageRelationship​(Relationship relationship)
        Creates the lineage relationship.
        Parameters:
        relationship - the relationship details
        Returns:
        the lineage relationship
      • instancePropertiesToMap

        public Map<String,​String> instancePropertiesToMap​(InstanceProperties properties)
        Retrieve the properties from an InstanceProperties object and return them as a map
        Parameters:
        properties - the properties
        Returns:
        the map properties