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 Details

    • OpenLineageDataSetFacets

      public OpenLineageDataSetFacets()
      Default constructor
  • Method Details

    • 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.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int