Company Hierarchy Example

In the following use case, we have people and companies, and we want to enrich the company with a meta indicating the number of employees present at any time.

This page discusses:

See Also
Define Java Transformation Processors
Define Java Aggregation Processors
Impact Detection

We have two types of documents:

  • company: Contains the company name in its URI. It holds possibly many other metas that identify the company.

  • employee: Contains the employee's name in its URI. It holds possibly many other metas that identify the employee, but contains at least two metas:

    • company_name contains the company's name in which the employee is working.

    • service_name contains the service in which the employee is working (sales, R&D, marketing, etc.).