Class OpenLineageNominalTimeRunFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageNominalTimeRunFacet
This class represents the content of an open lineage schema for the nominal (expected) time of a job run facet as defined in JSON
spec https://openlineage.io/spec/facets/1-0-0/NominalTimeRunFacet.json#/$defs/NominalTimeRunFacet.
It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.int
hashCode()
Return hash code based on properties.void
setNominalEndTime
(String nominalEndTime) Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.void
setNominalStartTime
(String nominalStartTime) Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
Constructor Details
-
OpenLineageNominalTimeRunFacet
public OpenLineageNominalTimeRunFacet()Default constructor
-
-
Method Details
-
getNominalStartTime
Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.- Returns:
- zoned time stamp
-
setNominalStartTime
Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.- Parameters:
nominalStartTime
- zoned time stamp
-
getNominalEndTime
Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)- Returns:
- zoned time stamp
-
setNominalEndTime
Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)- Parameters:
nominalEndTime
- zoned time stamp
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classOpenLineageRunFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageRunFacet
- Returns:
- int
-