Class OpenLineageJobFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacets
This class represents the map of job facets in the
open lineage standard spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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 facetinthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageJobFacet> additionalProperties) Set up a map of additional job facets.voidsetDocumentation(OpenLineageDocumentationJobFacet documentation) Set up the documentation.voidsetSourceCodeLocation(OpenLineageSourceCodeLocationJobFacet sourceCodeLocation) Set up the source code location.voidSet 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.
-