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 outputStatistics output dataset facet. It captures the volume of data written to the dataset by the run.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-2/OutputStatisticsOutputDatasetFacet.json#/$defs/OutputStatisticsOutputDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the number of files written to the dataset.Return the number of rows written to the dataset.getSize()Return the size in bytes written to the dataset.inthashCode()Return hash code based on properties.voidsetFileCount(Long fileCount) Set up the number of files written to the dataset.voidsetRowCount(Long rowCount) Set up the number of rows written to the dataset.voidSet up the size in bytes written to the dataset.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
-
OpenLineageOutputStatisticsOutputDataSetFacet
public OpenLineageOutputStatisticsOutputDataSetFacet()Default constructor
-
-
Method Details
-
getRowCount
Return the number of rows written to the dataset.- Returns:
- long
-
setRowCount
Set up the number of rows written to the dataset.- Parameters:
rowCount- long
-
getSize
Return the size in bytes written to the dataset.- Returns:
- long
-
setSize
Set up the size in bytes written to the dataset.- Parameters:
size- long
-
getFileCount
Return the number of files written to the dataset.- Returns:
- long
-
setFileCount
Set up the number of files written to the dataset.- Parameters:
fileCount- long
-
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
-