Class OpenLineageEgeriaParametricSweepRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageEgeriaParametricSweepRunFacet
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the identifier of this run's design point within the sweep.Return the parameter values for this design point (parameter name to value).Return the description of the parametric sweep.Return the name of the parametric sweep.inthashCode()Return hash code based on properties.voidsetDesignPoint(String designPoint) Set up the identifier of this run's design point within the sweep.voidsetParameters(Map<String, String> parameters) Set up the parameter values for this design point (parameter name to value).voidsetSweepDescription(String sweepDescription) Set up the description of the parametric sweep.voidsetSweepName(String sweepName) Set up the name of the parametric sweep.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
FACET_NAME
Key of the facet in the run's facets.- See Also:
-
SCHEMA_URL
Location of the facet's schema.- See Also:
-
-
Constructor Details
-
OpenLineageEgeriaParametricSweepRunFacet
public OpenLineageEgeriaParametricSweepRunFacet()Default constructor
-
-
Method Details
-
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
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
Return the description of the parametric sweep.- Returns:
- string
-
setSweepDescription
Set up the description of the parametric sweep.- Parameters:
sweepDescription- string
-
getDesignPoint
Return the identifier of this run's design point within the sweep.- Returns:
- string
-
setDesignPoint
Set up the identifier of this run's design point within the sweep.- Parameters:
designPoint- string
-
getParameters
Return the parameter values for this design point (parameter name to value).- Returns:
- map of parameter name to value
-
setParameters
Set up the parameter values for this design point (parameter name to value).- Parameters:
parameters- map of parameter name to value
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageRunFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-