Class OpenLineageInputStatisticsInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputStatisticsInputDataSetFacet
This class represents the inputStatistics input dataset facet. It captures the volume of data read from the dataset by the run.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/InputStatisticsInputDatasetFacet.json#/$defs/InputStatisticsInputDatasetFacet.
-
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 read.Return the number of rows read.getSize()Return the size in bytes read.inthashCode()Return hash code based on properties.voidsetFileCount(Long fileCount) Set up the number of files read.voidsetRowCount(Long rowCount) Set up the number of rows read.voidSet up the size in bytes read.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
-
OpenLineageInputStatisticsInputDataSetFacet
public OpenLineageInputStatisticsInputDataSetFacet()Default constructor
-
-
Method Details
-
getRowCount
Return the number of rows read.- Returns:
- long
-
setRowCount
Set up the number of rows read.- Parameters:
rowCount- long
-
getSize
Return the size in bytes read.- Returns:
- long
-
setSize
Set up the size in bytes read.- Parameters:
size- long
-
getFileCount
Return the number of files read.- Returns:
- long
-
setFileCount
Set up the number of files read.- Parameters:
fileCount- long
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageInputDataSetInputFacet- 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
-