Class OpenLineageCatalogDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageCatalogDataSetFacet
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the additional catalog properties.Return the storage framework for which the catalog is configured, for example iceberg or delta.Return the URI or connection string to the catalog, if applicable.getName()Return the name of the catalog, as configured in the source system.Return the source system where the catalog is configured, for example spark or flink.getType()Return the type of the catalog, for example rest, hive, glue or nessie.Return the URI or connection string to the physical location of the data that the catalog describes.inthashCode()Return hash code based on properties.voidsetCatalogProperties(Map<String, String> catalogProperties) Set up the additional catalog properties.voidsetFramework(String framework) Set up the storage framework for which the catalog is configured, for example iceberg or delta.voidsetMetadataUri(String metadataUri) Set up the URI or connection string to the catalog, if applicable.voidSet up the name of the catalog, as configured in the source system.voidSet up the source system where the catalog is configured, for example spark or flink.voidSet up the type of the catalog, for example rest, hive, glue or nessie.voidsetWarehouseUri(String warehouseUri) Set up the URI or connection string to the physical location of the data that the catalog describes.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
get_deleted, set_deletedMethods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageCatalogDataSetFacet
public OpenLineageCatalogDataSetFacet()Default constructor
-
-
Method Details
-
getFramework
Return the storage framework for which the catalog is configured, for example iceberg or delta.- Returns:
- string
-
setFramework
Set up the storage framework for which the catalog is configured, for example iceberg or delta.- Parameters:
framework- string
-
getType
Return the type of the catalog, for example rest, hive, glue or nessie.- Returns:
- string
-
setType
Set up the type of the catalog, for example rest, hive, glue or nessie.- Parameters:
type- string
-
getName
Return the name of the catalog, as configured in the source system.- Returns:
- string
-
setName
Set up the name of the catalog, as configured in the source system.- Parameters:
name- string
-
getMetadataUri
Return the URI or connection string to the catalog, if applicable.- Returns:
- string
-
setMetadataUri
Set up the URI or connection string to the catalog, if applicable.- Parameters:
metadataUri- string
-
getWarehouseUri
Return the URI or connection string to the physical location of the data that the catalog describes.- Returns:
- string
-
setWarehouseUri
Set up the URI or connection string to the physical location of the data that the catalog describes.- Parameters:
warehouseUri- string
-
getSource
Return the source system where the catalog is configured, for example spark or flink.- Returns:
- string
-
setSource
Set up the source system where the catalog is configured, for example spark or flink.- Parameters:
source- string
-
getCatalogProperties
Return the additional catalog properties.- Returns:
- map
-
setCatalogProperties
Set up the additional catalog properties.- Parameters:
catalogProperties- map
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageDataSetFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageDataSetFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageDataSetFacet- Returns:
- int
-