Class OpenLineageStorageDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageStorageDataSetFacet
This class represents the storage dataset facet. It identifies the storage layer and file format of the dataset.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/StorageDatasetFacet.json#/$defs/StorageDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the file format, for example parquet, orc, avro, json, csv, text or xml.Return the storage layer provider, for example iceberg or delta.inthashCode()Return hash code based on properties.voidsetFileFormat(String fileFormat) Set up the file format, for example parquet, orc, avro, json, csv, text or xml.voidsetStorageLayer(String storageLayer) Set up the storage layer provider, for example iceberg or delta.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
-
OpenLineageStorageDataSetFacet
public OpenLineageStorageDataSetFacet()Default constructor
-
-
Method Details
-
getStorageLayer
Return the storage layer provider, for example iceberg or delta.- Returns:
- string
-
setStorageLayer
Set up the storage layer provider, for example iceberg or delta.- Parameters:
storageLayer- string
-
getFileFormat
Return the file format, for example parquet, orc, avro, json, csv, text or xml.- Returns:
- string
-
setFileFormat
Set up the file format, for example parquet, orc, avro, json, csv, text or xml.- Parameters:
fileFormat- string
-
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
-