Class OpenLineageLineageTransformation

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageTransformation

public class OpenLineageLineageTransformation extends Object
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
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare 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.
    Return the transformation type, such as DIRECT or INDIRECT.
    int
    Return hash code based on properties.
    void
    setDescription(String description)
    Set up the string representation of the transformation.
    void
    Set up the whether the transformation masks the source data.
    void
    setSubtype(String subtype)
    Set up the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.
    void
    Set up the transformation type, such as DIRECT or INDIRECT.
    Standard toString method.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OpenLineageLineageTransformation

      public OpenLineageLineageTransformation()
      Default constructor
  • Method Details

    • getType

      public String getType()
      Return the transformation type, such as DIRECT or INDIRECT.
      Returns:
      string
    • setType

      public void setType(String type)
      Set up the transformation type, such as DIRECT or INDIRECT.
      Parameters:
      type - string
    • getSubtype

      public String getSubtype()
      Return the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.
      Returns:
      string
    • setSubtype

      public void setSubtype(String subtype)
      Set up the transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT or CONDITIONAL.
      Parameters:
      subtype - string
    • getDescription

      public String getDescription()
      Return the string representation of the transformation.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the string representation of the transformation.
      Parameters:
      description - string
    • getMasking

      public Boolean getMasking()
      Return the whether the transformation masks the source data.
      Returns:
      boolean
    • setMasking

      public void setMasking(Boolean masking)
      Set up the whether the transformation masks the source data.
      Parameters:
      masking - boolean
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int