Class OpenLineageGcpComposerRunFacet


public class OpenLineageGcpComposerRunFacet extends OpenLineageRunFacet
This class represents the gcp_composer_run run facet registered by Google Cloud Composer. It identifies the DAG run. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/GcpComposerRunFacet.json#/$defs/GcpComposerRunFacet.
  • Constructor Details

    • OpenLineageGcpComposerRunFacet

      public OpenLineageGcpComposerRunFacet()
      Default constructor
  • Method Details

    • getDagRunId

      public String getDagRunId()
      Return the id of the DAG run.
      Returns:
      string
    • setDagRunId

      public void setDagRunId(String dagRunId)
      Set up the id of the DAG run.
      Parameters:
      dagRunId - string
    • toString

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

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