Class OpenLineageLineageTransformation
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageTransformation
This class represents a transformation applied to source data on its way to a target in the lineage facets.
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 string representation of the transformation.Return the whether the transformation masks the source data.Return the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.getType()Return the transformation type, such as DIRECT or INDIRECT.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the string representation of the transformation.voidsetMasking(Boolean masking) Set up the whether the transformation masks the source data.voidsetSubtype(String subtype) Set up the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.voidSet up the transformation type, such as DIRECT or INDIRECT.toString()Standard toString method.
-
Constructor Details
-
OpenLineageLineageTransformation
public OpenLineageLineageTransformation()Default constructor
-
-
Method Details
-
getType
Return the transformation type, such as DIRECT or INDIRECT.- Returns:
- string
-
setType
Set up the transformation type, such as DIRECT or INDIRECT.- Parameters:
type- string
-
getSubtype
Return the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.- Returns:
- string
-
setSubtype
Set up the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.- Parameters:
subtype- string
-
getDescription
Return the string representation of the transformation.- Returns:
- string
-
setDescription
Set up the string representation of the transformation.- Parameters:
description- string
-
getMasking
Return the whether the transformation masks the source data.- Returns:
- boolean
-
setMasking
Set up the whether the transformation masks the source data.- Parameters:
masking- boolean
-
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.
-