Class OpenLineageLineageEntry
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageEntry
This class represents a target entity (dataset or job) and the sources that feed it, from the lineage job facet. The type field says whether it is a DATASET or a JOB.
It is part of the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the field-level lineage: maps target field names to their source inputs (datasets only).Return the entity-level inputs feeding this target.getName()Return the name of the target dataset or job.Return the namespace of the target dataset or job.getRunId()Return the target job run when the relationship is tied to a specific execution (jobs only).getType()Return the target entity type: DATASET or JOB.inthashCode()Return hash code based on properties.voidsetFields(Map<String, OpenLineageLineageFieldEntry> fields) Set up the field-level lineage: maps target field names to their source inputs (datasets only).voidsetInputs(List<OpenLineageLineageInput> inputs) Set up the entity-level inputs feeding this target.voidSet up the name of the target dataset or job.voidsetNamespace(String namespace) Set up the namespace of the target dataset or job.voidSet up the target job run when the relationship is tied to a specific execution (jobs only).voidSet up the target entity type: DATASET or JOB.toString()Standard toString method.
-
Constructor Details
-
OpenLineageLineageEntry
public OpenLineageLineageEntry()Default constructor
-
-
Method Details
-
getType
Return the target entity type: DATASET or JOB.- Returns:
- string
-
setType
Set up the target entity type: DATASET or JOB.- Parameters:
type- string
-
getNamespace
Return the namespace of the target dataset or job. For a job it may be omitted, together with name, to refer to the event's own job.- Returns:
- string
-
setNamespace
Set up the namespace of the target dataset or job. For a job it may be omitted, together with name, to refer to the event's own job.- Parameters:
namespace- string
-
getName
Return the name of the target dataset or job.- Returns:
- string
-
setName
Set up the name of the target dataset or job.- Parameters:
name- string
-
getRunId
Return the target job run when the relationship is tied to a specific execution (jobs only).- Returns:
- uuid
-
setRunId
Set up the target job run when the relationship is tied to a specific execution (jobs only).- Parameters:
runId- uuid
-
getInputs
Return the entity-level inputs feeding this target. An empty list explicitly means the target has no tracked inputs.- Returns:
- list
-
setInputs
Set up the entity-level inputs feeding this target. An empty list explicitly means the target has no tracked inputs.- Parameters:
inputs- list
-
getFields
Return the field-level lineage: maps target field names to their source inputs (datasets only).- Returns:
- map
-
setFields
Set up the field-level lineage: maps target field names to their source inputs (datasets only).- Parameters:
fields- map
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-