Class OpenLineageIcebergCommitReportOutputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputDataSetOutputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageIcebergCommitReportOutputDataSetFacet
public class OpenLineageIcebergCommitReportOutputDataSetFacet
extends OpenLineageOutputDataSetOutputFacet
This class represents the icebergCommitReport output dataset facet registered by Apache Iceberg. It reports the snapshot and commit metrics of a write to an Iceberg table.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-2/IcebergCommitReportOutputDatasetFacet.json#/$defs/IcebergCommitReportOutputDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the commit metrics.Return the additional metadata reported with the commit.Return the operation that was performed on the Iceberg table, for example append, overwrite or delete.Return the sequence number of the Iceberg table.Return the snapshot ID of the Iceberg table.inthashCode()Return hash code based on properties.voidSet up the commit metrics.voidsetMetadata(Map<String, Object> metadata) Set up the additional metadata reported with the commit.voidsetOperation(String operation) Set up the operation that was performed on the Iceberg table, for example append, overwrite or delete.voidsetSequenceNumber(Long sequenceNumber) Set up the sequence number of the Iceberg table.voidsetSnapshotId(Long snapshotId) Set up the snapshot ID of the Iceberg table.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
-
OpenLineageIcebergCommitReportOutputDataSetFacet
public OpenLineageIcebergCommitReportOutputDataSetFacet()Default constructor
-
-
Method Details
-
getSnapshotId
Return the snapshot ID of the Iceberg table.- Returns:
- long
-
setSnapshotId
Set up the snapshot ID of the Iceberg table.- Parameters:
snapshotId- long
-
getSequenceNumber
Return the sequence number of the Iceberg table.- Returns:
- long
-
setSequenceNumber
Set up the sequence number of the Iceberg table.- Parameters:
sequenceNumber- long
-
getOperation
Return the operation that was performed on the Iceberg table, for example append, overwrite or delete.- Returns:
- string
-
setOperation
Set up the operation that was performed on the Iceberg table, for example append, overwrite or delete.- Parameters:
operation- string
-
getCommitMetrics
Return the commit metrics.- Returns:
- bean
-
setCommitMetrics
Set up the commit metrics.- Parameters:
commitMetrics- bean
-
getMetadata
Return the additional metadata reported with the commit.- Returns:
- map
-
setMetadata
Set up the additional metadata reported with the commit.- Parameters:
metadata- map
-
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
-