Class EntityLineage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • level

        public EntityLineage.Builder level​(Integer level)
        Object level at which the lineage is returned.
        Parameters:
        level - the value to set
        Returns:
        this builder
      • objects

        public EntityLineage.Builder objects​(List<LineageObject> objects)
        Set of objects that are involved in the lineage.
        Parameters:
        objects - the value to set
        Returns:
        this builder
      • relationships

        public EntityLineage.Builder relationships​(List<LineageRelationship> relationships)
        Set of relationships between the objects in the ‘objects’ set.
        Parameters:
        relationships - the value to set
        Returns:
        this builder
      • annotations

        public EntityLineage.Builder annotations​(Map<String,​Map<String,​String>> annotations)
        A map of maps that contains additional information in explanation of the lineage returned.

        The map keys are categories of information and the values are maps of annotation names to their corresponding values. Every annotation is contained inside a category. Example: {“annotations”: { “category”: { “key”: “value”}}}

        Parameters:
        annotations - the value to set
        Returns:
        this builder