Class OpenLineageJobFacets
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageJobFacets
This class represents the map of job facets in the
open lineage standard spec.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a map of additional job facets.Return the documentationReturn the source code location.getSql()
Return the SQL command facetint
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, OpenLineageJobFacet> additionalProperties) Set up a map of additional job facets.void
setDocumentation
(OpenLineageDocumentationJobFacet documentation) Set up the documentation.void
setSourceCodeLocation
(OpenLineageSourceCodeLocationJobFacet sourceCodeLocation) Set up the source code location.void
Set up the SQL command facettoString()
Standard toString method.
-
Constructor Details
-
OpenLineageJobFacets
public OpenLineageJobFacets()Default constructor
-
-
Method Details
-
getSourceCodeLocation
Return the source code location.- Returns:
- facet
-
setSourceCodeLocation
Set up the source code location.- Parameters:
sourceCodeLocation
- facet
-
getSql
Return the SQL command facet- Returns:
- facet
-
setSql
Set up the SQL command facet- Parameters:
sql
- facet
-
getDocumentation
Return the documentation- Returns:
- facet
-
setDocumentation
Set up the documentation.- Parameters:
documentation
- facet
-
getAdditionalProperties
Return a map of additional job facets. The name is the identifier of the facet type and the object is the facet itself.- Returns:
- job facet map (map from string to object)
-
setAdditionalProperties
Set up a map of additional job facets. The name is the identifier of the facet type and the object is the facet itself.- Parameters:
additionalProperties
- job 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.
-