Class OpenLineageDataSetFacets
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataSetFacets
-
public class OpenLineageDataSetFacets extends Object
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 Constructor Description OpenLineageDataSetFacets()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.Map<String,OpenLineageDataSetFacet>getAdditionalProperties()Return a map of additional data set facets.OpenLineageDataSourceDataSetFacetgetDataSource()Return the data source facet.OpenLineageDocumentationDataSetFacetgetDocumentation()Return the document facet.OpenLineageSchemaDataSetFacetgetSchema()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.voidsetSchema(OpenLineageSchemaDataSetFacet schema)Set up the schema facet.StringtoString()Standard toString method.
-
-
-
Method Detail
-
getDocumentation
public OpenLineageDocumentationDataSetFacet getDocumentation()
Return the document facet.- Returns:
- facet
-
setDocumentation
public void setDocumentation(OpenLineageDocumentationDataSetFacet documentation)
Set up the document facet.- Parameters:
documentation- facet
-
getDataSource
public OpenLineageDataSourceDataSetFacet getDataSource()
Return the data source facet.- Returns:
- facet
-
setDataSource
public void setDataSource(OpenLineageDataSourceDataSetFacet dataSource)
Set up the data source facet.- Parameters:
dataSource- facet
-
getSchema
public OpenLineageSchemaDataSetFacet getSchema()
Return the schema facet.- Returns:
- facet
-
setSchema
public void setSchema(OpenLineageSchemaDataSetFacet schema)
Set up the schema facet.- Parameters:
schema- facet
-
getAdditionalProperties
public Map<String,OpenLineageDataSetFacet> 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
public void setAdditionalProperties(Map<String,OpenLineageDataSetFacet> additionalProperties)
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
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-