David Kantor created ATLAS-873:
----------------------------------
Summary: Option to specify depth of composite graph when
retrieving entities
Key: ATLAS-873
URL: https://issues.apache.org/jira/browse/ATLAS-873
Project: Atlas
Issue Type: Improvement
Reporter: David Kantor
When retrieving entities with composite/containment references, the full
containment graph is retrieved. This can be a significant performance cost for
deep/wide containment graphs. The user may only be interested in the root of
the graph, or the entities in the first level.
To avoid the unnecessary overhead for these use cases, there can be an option
to specify the depth of the containment graph when retrieving entities. By
default, it would be the full containment graph to avoid changing the current
behavior and potentially breaking existing applications.
If the depth option is specified, the returned graph would be n levels deep
with regard to fully inflated composite entities. At level n+1, composite
entities would be represented by their IDs, and full entity retrieval would not
go beyond level n.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)