Class OpenLineageColumnLineageDataSetFacetTransformation

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

public class OpenLineageColumnLineageDataSetFacetTransformation extends Object
This class represents a transformation applied to an input field in the columnLineage dataset facet. 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 input data.
    Return the transformation subtype, for example IDENTITY, TRANSFORMATION, AGGREGATION, JOIN, GROUP_BY, FILTER, SORT, WINDOW or CONDITIONAL.
    Return the transformation type, for example 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 input data.
    void
    setSubtype(String subtype)
    Set up the transformation subtype, for example IDENTITY, TRANSFORMATION, AGGREGATION, JOIN, GROUP_BY, FILTER, SORT, WINDOW or CONDITIONAL.
    void
    Set up the transformation type, for example DIRECT or INDIRECT.
    Standard toString method.

    Methods inherited from class java.lang.Object

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

    • OpenLineageColumnLineageDataSetFacetTransformation

      public OpenLineageColumnLineageDataSetFacetTransformation()
      Default constructor
  • Method Details

    • getType

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

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

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

      public void setSubtype(String subtype)
      Set up the transformation subtype, for example IDENTITY, TRANSFORMATION, AGGREGATION, JOIN, GROUP_BY, FILTER, SORT, WINDOW 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 input data.
      Returns:
      boolean
    • setMasking

      public void setMasking(Boolean masking)
      Set up the whether the transformation masks the input 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