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
Constructors Constructor Description OpenLineageOutputStatisticsOutputDataSetFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.longgetRowCount()Return 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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
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
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageOutputDataSetOutputFacet- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-