Class OpenLineageDataSetFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacets
This class represents the map of data set 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 a map of additional data set facets.Return the data source facet.Return the document facet.Return the schema facet.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageDataSetFacet> additionalProperties) Set up a map of additional data set facets.voidsetDataSource(OpenLineageDataSourceDataSetFacet dataSource) Set up the data source facet.voidsetDocumentation(OpenLineageDocumentationDataSetFacet documentation) Set up the document facet.voidSet up the schema facet.toString()Standard toString method.
-
Constructor Details
-
OpenLineageDataSetFacets
public OpenLineageDataSetFacets()Default constructor
-
-
Method Details
-
getDocumentation
Return the document facet.- Returns:
- facet
-
setDocumentation
Set up the document facet.- Parameters:
documentation- facet
-
getDataSource
Return the data source facet.- Returns:
- facet
-
setDataSource
Set up the data source facet.- Parameters:
dataSource- facet
-
getSchema
Return the schema facet.- Returns:
- facet
-
setSchema
Set up the schema facet.- Parameters:
schema- facet
-
getAdditionalProperties
Return a map of additional data set facets. The name is the identifier of the facet type and the object is the facet itself.- Returns:
- data set facet map (map from string to object)
-
setAdditionalProperties
Set up a map of additional data set facets. The name is the identifier of the facet type and the object is the facet itself.- Parameters:
additionalProperties- data set 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.
-