Class OpenLineageOutputStatisticsOutputDataSetFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageOutputDataSetOutputFacet
org.odpi.openmetadata.integrationservices.lineage.properties.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 Lineage Integrator OMIS's integration connectors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.long
Return the number of row written to the data set.long
getSize()
Return the number of bytes written to the data set.int
hashCode()
Return hash code based on properties.void
setRowCount
(long rowCount) Set up the number of row written to the data set.void
setSize
(long size) Set up the number of bytes written to the data set.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.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:
toString
in 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:
equals
in classOpenLineageFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageFacet
- Returns:
- int
-