Class OpenLineageJobEvent
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobEvent
This class represents the content of an OpenLineage job event. A job event describes a job and its inputs and
outputs independently of any particular run, for example when a pipeline is deployed. It follows
https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/JobEvent. It is used internally in Egeria to pass
this information to the integration daemon's integration connectors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return any properties that are not modelled by the bean.Return the time the event occurred at (ISO-8601).Return the set of input datasets.getJob()Return the job that the event describes.Return the set of output datasets.Return the URI identifying the producer of this metadata.Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, Object> additionalProperties) Set up any properties that are not modelled by the bean.voidsetAdditionalProperty(String propertyName, Object propertyValue) Add a property that is not modelled by the bean.voidsetEventTime(String eventTime) Set up the time the event occurred at (ISO-8601).voidsetInputs(List<OpenLineageInputDataSet> inputs) Set up the set of input datasets.voidsetJob(OpenLineageJob job) Set up the job that the event describes.voidsetOutputs(List<OpenLineageOutputDataSet> outputs) Set up the set of output datasets.voidsetProducer(URI producer) Set up the URI identifying the producer of this metadata.voidsetSchemaURL(URI schemaURL) Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.toString()Standard toString method.
-
Constructor Details
-
OpenLineageJobEvent
public OpenLineageJobEvent()Default constructor
-
-
Method Details
-
getEventTime
Return the time the event occurred at (ISO-8601).- Returns:
- value
-
setEventTime
Set up the time the event occurred at (ISO-8601).- Parameters:
eventTime- value
-
getProducer
Return the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.- Returns:
- value
-
setProducer
Set up the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.- Parameters:
producer- value
-
getSchemaURL
Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.- Returns:
- value
-
setSchemaURL
Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.- Parameters:
schemaURL- value
-
getJob
Return the job that the event describes.- Returns:
- value
-
setJob
Set up the job that the event describes.- Parameters:
job- value
-
getInputs
Return the set of input datasets.- Returns:
- value
-
setInputs
Set up the set of input datasets.- Parameters:
inputs- value
-
getOutputs
Return the set of output datasets.- Returns:
- value
-
setOutputs
Set up the set of output datasets.- Parameters:
outputs- value
-
getAdditionalProperties
Return any properties that are not modelled by the bean. They are serialized as top-level properties alongside the modelled properties.- Returns:
- map of property name to value
-
setAdditionalProperties
Set up any properties that are not modelled by the bean.- Parameters:
additionalProperties- map of property name to value
-
setAdditionalProperty
Add a property that is not modelled by the bean. Jackson calls this for each unrecognized property found in the JSON.- Parameters:
propertyName- name of the propertypropertyValue- value of the property
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-