Class OpenLineageOutputSubsetOutputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputDataSetOutputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputSubsetOutputDataSetFacet
This class represents the subset output dataset facet. It describes the subset (partitions, locations or filter condition) of the dataset that was written. The condition is a polymorphic tree keyed by its type field, so it is held as a generic map.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/BaseSubsetDatasetFacet.json#/$defs/OutputSubsetOutputDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the condition describing the subset written.inthashCode()Return hash code based on properties.voidsetOutputCondition(Map<String, Object> outputCondition) Set up the condition describing the subset written.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageOutputSubsetOutputDataSetFacet
public OpenLineageOutputSubsetOutputDataSetFacet()Default constructor
-
-
Method Details
-
getOutputCondition
Return the condition describing the subset written. The type field of the condition identifies it as a BinarySubsetCondition, CompareSubsetCondition, PartitionSubsetCondition or LocationSubsetCondition.- Returns:
- map
-
setOutputCondition
Set up the condition describing the subset written. The type field of the condition identifies it as a BinarySubsetCondition, CompareSubsetCondition, PartitionSubsetCondition or LocationSubsetCondition.- Parameters:
outputCondition- map
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageOutputDataSetOutputFacet- 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 classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-