Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Difference between different Apache Atlas relationship categories

Difference between different Apache Atlas relationship categories

New Contributor

What is the difference between the different Atlas relationship categories e.g. AGGREGATION, ASSOCIATION, COMPOSITION.

What are the requirements and limitations of each, and what are some use cases?

1 REPLY 1

Re: Difference between different Apache Atlas relationship categories

Expert Contributor

Relationship category determines the style of relationship around containment and lifecycle. UML terminology is used for the values. ASSOCIATION is a relationship with no containment. COMPOSITION and AGGREGATION are containment relationships. The difference being in the lifecycles of the container and its children. In the COMPOSITION case, the children cannot exist without the container. For AGGREGATION, the life cycles of the container and children are totally independent.