Class OpenLineageEgeriaParametricSweepRunFacet


public class OpenLineageEgeriaParametricSweepRunFacet extends OpenLineageRunFacet
This class represents Egeria's custom egeria_parametricSweep run facet. A run includes it to say that it is one design point of a parametric sweep (a campaign of runs of the same work with different parameter values), and to give the values of the parameters for this design point. Egeria records the sweep as a ParametricSweep collection with the run (or, when runs are not catalogued, the job's process) as a member, and records the parameter values according to the cataloguer's parameterMaterialization option. Any OpenLineage producer can add it to its run events. It follows the facet schema at "https://egeria-project.org/openlineage/facets/1-0-0/EgeriaParametricSweepRunFacet.json#/$defs/EgeriaParametricSweepRunFacet".
  • Field Details

  • Constructor Details

    • OpenLineageEgeriaParametricSweepRunFacet

      public OpenLineageEgeriaParametricSweepRunFacet()
      Default constructor
  • Method Details

    • getSweepName

      public String getSweepName()
      Return the name of the parametric sweep. Runs with the same sweep name, in the same job namespace, belong to the same sweep.
      Returns:
      string
    • setSweepName

      public void setSweepName(String sweepName)
      Set up the name of the parametric sweep. Runs with the same sweep name, in the same job namespace, belong to the same sweep.
      Parameters:
      sweepName - string
    • getSweepDescription

      public String getSweepDescription()
      Return the description of the parametric sweep.
      Returns:
      string
    • setSweepDescription

      public void setSweepDescription(String sweepDescription)
      Set up the description of the parametric sweep.
      Parameters:
      sweepDescription - string
    • getDesignPoint

      public String getDesignPoint()
      Return the identifier of this run's design point within the sweep.
      Returns:
      string
    • setDesignPoint

      public void setDesignPoint(String designPoint)
      Set up the identifier of this run's design point within the sweep.
      Parameters:
      designPoint - string
    • getParameters

      public Map<String,String> getParameters()
      Return the parameter values for this design point (parameter name to value).
      Returns:
      map of parameter name to value
    • setParameters

      public void setParameters(Map<String,String> parameters)
      Set up the parameter values for this design point (parameter name to value).
      Parameters:
      parameters - map of parameter name to value
    • 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