Class OpenLineageLineageDataSetFacet


public class OpenLineageLineageDataSetFacet extends OpenLineageDataSetFacet
This class represents the lineage dataset facet. It explicitly declares the dataset- and field-level sources of the dataset. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/LineageFacet.json#/$defs/LineageDatasetFacet.
  • Constructor Details

    • OpenLineageLineageDataSetFacet

      public OpenLineageLineageDataSetFacet()
      Default constructor
  • Method Details

    • getInputs

      public List<OpenLineageLineageInput> getInputs()
      Return the dataset-level source inputs.
      Returns:
      list
    • setInputs

      public void setInputs(List<OpenLineageLineageInput> inputs)
      Set up the dataset-level source inputs.
      Parameters:
      inputs - list
    • getFields

      Return the field-level lineage: maps target field names to their source inputs.
      Returns:
      map
    • setFields

      public void setFields(Map<String,OpenLineageLineageFieldEntry> fields)
      Set up the field-level lineage: maps target field names to their source inputs.
      Parameters:
      fields - map
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageDataSetFacet
      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 OpenLineageDataSetFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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