Class OpenLineageIcebergScanReportInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageIcebergScanReportInputDataSetFacet
public class OpenLineageIcebergScanReportInputDataSetFacet
extends OpenLineageInputDataSetInputFacet
This class represents the icebergScanReport input dataset facet registered by Apache Iceberg. It reports the snapshot, filter, projection and scan metrics of a read of an Iceberg table.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/IcebergScanReportInputDatasetFacet.json#/$defs/IcebergScanReportInputDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the filter used to scan the Iceberg table.Return the additional metadata reported with the scan.Return the names of the fields projected from the Iceberg table.Return the scan metrics.Return the schema ID of the Iceberg table.Return the snapshot ID of the Iceberg table.inthashCode()Return hash code based on properties.voidsetFilterDescription(String filterDescription) Set up the filter used to scan the Iceberg table.voidsetMetadata(Map<String, Object> metadata) Set up the additional metadata reported with the scan.voidsetProjectedFieldNames(List<String> projectedFieldNames) Set up the names of the fields projected from the Iceberg table.voidSet up the scan metrics.voidsetSchemaId(Long schemaId) Set up the schema ID 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
-
OpenLineageIcebergScanReportInputDataSetFacet
public OpenLineageIcebergScanReportInputDataSetFacet()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
-
getFilterDescription
Return the filter used to scan the Iceberg table.- Returns:
- string
-
setFilterDescription
Set up the filter used to scan the Iceberg table.- Parameters:
filterDescription- string
-
getSchemaId
Return the schema ID of the Iceberg table.- Returns:
- long
-
setSchemaId
Set up the schema ID of the Iceberg table.- Parameters:
schemaId- long
-
getProjectedFieldNames
Return the names of the fields projected from the Iceberg table.- Returns:
- list
-
setProjectedFieldNames
Set up the names of the fields projected from the Iceberg table.- Parameters:
projectedFieldNames- list
-
getScanMetrics
Return the scan metrics.- Returns:
- bean
-
setScanMetrics
Set up the scan metrics.- Parameters:
scanMetrics- bean
-
getMetadata
Return the additional metadata reported with the scan.- Returns:
- map
-
setMetadata
Set up the additional metadata reported with the scan.- Parameters:
metadata- map
-
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
-