Class OpenLineageOutputStatisticsOutputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputDataSetOutputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputStatisticsOutputDataSetFacet
public class OpenLineageOutputStatisticsOutputDataSetFacet
extends OpenLineageOutputDataSetOutputFacet
This class represents the content of an open lineage documentation data set facet as defined in JSON
spec https://openlineage.io/spec/facets/1-0-0/OutputStatisticsOutputDatasetFacet.json#/$defs/OutputStatisticsOutputDatasetFacet.
It is used internally in Egeria to pass this information to the integration daemon's integration connectors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.longReturn the number of row written to the data set.longgetSize()Return the number of bytes written to the data set.inthashCode()Return hash code based on properties.voidsetRowCount(long rowCount) Set up the number of row written to the data set.voidsetSize(long size) Set up the number of bytes written to the data set.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
-
Constructor Details
-
OpenLineageOutputStatisticsOutputDataSetFacet
public OpenLineageOutputStatisticsOutputDataSetFacet()Default constructor
-
-
Method Details
-
getRowCount
public long getRowCount()Return the number of row written to the data set.- Returns:
- count
-
setRowCount
public void setRowCount(long rowCount) Set up the number of row written to the data set.- Parameters:
rowCount- count
-
getSize
public long getSize()Return the number of bytes written to the data set.- Returns:
- number of bytes
-
setSize
public void setSize(long size) Set up the number of bytes written to the data set.- Parameters:
size- number of bytes
-
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
-