Class OpenLineageFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
- Direct Known Subclasses:
OpenLineageDataSetFacet,OpenLineageDataSourceDataSetFacet,OpenLineageInputDataSetInputFacet,OpenLineageJobFacet,OpenLineageOutputDataSetOutputFacet
This class represents the Common header for facets in the open lineage standard spec
https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidset_producer(URI producer) Set up the URI identifying the producer of this metadata.voidset_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.voidsetAdditionalProperties(Map<String, Object> additionalProperties) Set up a map of additional custom facets.toString()Standard toString method.
-
Constructor Details
-
OpenLineageFacet
Subclass 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.
-