Class OpenLineageCatalogDataSetFacet


public class OpenLineageCatalogDataSetFacet extends OpenLineageDataSetFacet
This class represents the catalog dataset facet. It identifies the catalog (for example a lakehouse catalog) that the dataset is registered in. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-0/CatalogDatasetFacet.json#/$defs/CatalogDatasetFacet.
  • Constructor Details

    • OpenLineageCatalogDataSetFacet

      public OpenLineageCatalogDataSetFacet()
      Default constructor
  • Method Details

    • getFramework

      public String getFramework()
      Return the storage framework for which the catalog is configured, for example iceberg or delta.
      Returns:
      string
    • setFramework

      public void setFramework(String framework)
      Set up the storage framework for which the catalog is configured, for example iceberg or delta.
      Parameters:
      framework - string
    • getType

      public String getType()
      Return the type of the catalog, for example rest, hive, glue or nessie.
      Returns:
      string
    • setType

      public void setType(String type)
      Set up the type of the catalog, for example rest, hive, glue or nessie.
      Parameters:
      type - string
    • getName

      public String getName()
      Return the name of the catalog, as configured in the source system.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the name of the catalog, as configured in the source system.
      Parameters:
      name - string
    • getMetadataUri

      public String getMetadataUri()
      Return the URI or connection string to the catalog, if applicable.
      Returns:
      string
    • setMetadataUri

      public void setMetadataUri(String metadataUri)
      Set up the URI or connection string to the catalog, if applicable.
      Parameters:
      metadataUri - string
    • getWarehouseUri

      public String getWarehouseUri()
      Return the URI or connection string to the physical location of the data that the catalog describes.
      Returns:
      string
    • setWarehouseUri

      public void setWarehouseUri(String warehouseUri)
      Set up the URI or connection string to the physical location of the data that the catalog describes.
      Parameters:
      warehouseUri - string
    • getSource

      public String getSource()
      Return the source system where the catalog is configured, for example spark or flink.
      Returns:
      string
    • setSource

      public void setSource(String source)
      Set up the source system where the catalog is configured, for example spark or flink.
      Parameters:
      source - string
    • getCatalogProperties

      public Map<String,String> getCatalogProperties()
      Return the additional catalog properties.
      Returns:
      map
    • setCatalogProperties

      public void setCatalogProperties(Map<String,String> catalogProperties)
      Set up the additional catalog properties.
      Parameters:
      catalogProperties - map
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageDataSetFacet
      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 OpenLineageDataSetFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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