public static class EntityLineage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EntityLineage.Builder |
annotations(Map<String,Map<String,String>> annotations)
A map of maps that contains additional information in explanation of the lineage
returned.
|
EntityLineage |
build() |
EntityLineage.Builder |
copy(EntityLineage model) |
EntityLineage.Builder |
direction(LineageDirection direction)
Direction of the lineage returned.
|
EntityLineage.Builder |
level(Integer level)
Object level at which the lineage is returned.
|
EntityLineage.Builder |
objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.
|
EntityLineage.Builder |
relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.
|
public EntityLineage.Builder level(Integer level)
Object level at which the lineage is returned.
level
- the value to setpublic EntityLineage.Builder direction(LineageDirection direction)
Direction of the lineage returned.
direction
- the value to setpublic EntityLineage.Builder objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.
objects
- the value to setpublic EntityLineage.Builder relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.
relationships
- the value to setpublic 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"}}}
annotations
- the value to setpublic EntityLineage build()
public EntityLineage.Builder copy(EntityLineage model)
Copyright © 2016–2024. All rights reserved.