Class OpenLineageRunFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
- Direct Known Subclasses:
OpenLineageNominalTimeRunFacet
This class represents the run facet in the open lineage standard spec
https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.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 facet.Return a map of additional custom facets.int
hashCode()
Return hash code based on properties.void
set_producer
(URI producer) Set up the URI identifying the producer of this metadata.void
set_schemaURL
(URI schemaURL) Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet.void
setAdditionalProperties
(Map<String, Object> additionalProperties) Set up a map of additional custom facets.toString()
Standard toString method.
-
Constructor Details
-
OpenLineageRunFacet
Default constructor- Parameters:
schemaURL
- default value for schemaURL
-
-
Method Details
-
get_producer
Return the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.- Returns:
- URI
-
set_producer
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
- uri
-
get_schemaURL
Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet.- Returns:
- uri
-
set_schemaURL
Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet.- Parameters:
schemaURL
- uri
-
getAdditionalProperties
Return a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.- Returns:
- custom facet map (map from string to object)
-
setAdditionalProperties
Set up a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.- Parameters:
additionalProperties
- custom facet map (map from string to object)
-
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.
-