Class OpenLineageLineageInput
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageInput
This class represents a source entity (dataset, dataset field or job) feeding a target in the lineage facets. 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.getField()Return the source field (datasets only).getName()Return the name of the source dataset or job.Return the namespace of the source dataset or job.getRunId()Return the source job run when the relationship is tied to a specific execution (jobs only).Return the transformations applied to the source data.getType()Return the source entity type: DATASET or JOB.inthashCode()Return hash code based on properties.voidSet up the source field (datasets only).voidSet up the name of the source dataset or job.voidsetNamespace(String namespace) Set up the namespace of the source dataset or job.voidSet up the source job run when the relationship is tied to a specific execution (jobs only).voidsetTransformations(List<OpenLineageLineageTransformation> transformations) Set up the transformations applied to the source data.voidSet up the source entity type: DATASET or JOB.toString()Standard toString method.
-
Constructor Details
-
OpenLineageLineageInput
public OpenLineageLineageInput()Default constructor
-
-
Method Details
-
getType
Return the source entity type: DATASET or JOB.- Returns:
- string
-
setType
Set up the source entity type: DATASET or JOB.- Parameters:
type- string
-
getNamespace
Return the namespace of the source 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 source 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 source dataset or job.- Returns:
- string
-
setName
Set up the name of the source dataset or job.- Parameters:
name- string
-
getField
Return the source field (datasets only). At entity level it represents a dataset-wide dependency; at field level it identifies the source field.- Returns:
- string
-
setField
Set up the source field (datasets only). At entity level it represents a dataset-wide dependency; at field level it identifies the source field.- Parameters:
field- string
-
getRunId
Return the source job run when the relationship is tied to a specific execution (jobs only).- Returns:
- uuid
-
setRunId
Set up the source job run when the relationship is tied to a specific execution (jobs only).- Parameters:
runId- uuid
-
getTransformations
Return the transformations applied to the source data.- Returns:
- list
-
setTransformations
Set up the transformations applied to the source data.- Parameters:
transformations- list
-
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.
-