Package io.openlineage.client
Class OpenLineage.IcebergScanReportInputDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.IcebergScanReportInputDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.IcebergScanReportInputDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.IcebergScanReportInputDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.IcebergScanReportInputDatasetFacet>
builder class for IcebergScanReportInputDatasetFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of IcebergScanReportInputDatasetFacet from the fields set in the builderfilterDescription(String filterDescription) projectedFieldNames(List<String> projectedFieldNames) add additional propertiessnapshotId(Double snapshotId)
-
Constructor Details
-
IcebergScanReportInputDatasetFacetBuilder
public IcebergScanReportInputDatasetFacetBuilder()
-
-
Method Details
-
snapshotId
- Parameters:
snapshotId- Snapshot ID of the iceberg table- Returns:
- this
-
filterDescription
public OpenLineage.IcebergScanReportInputDatasetFacetBuilder filterDescription(String filterDescription) - Parameters:
filterDescription- Filter used to scan the iceberg table- Returns:
- this
-
schemaId
- Parameters:
schemaId- Schema ID of the iceberg table- Returns:
- this
-
projectedFieldNames
public OpenLineage.IcebergScanReportInputDatasetFacetBuilder projectedFieldNames(List<String> projectedFieldNames) - Parameters:
projectedFieldNames- List of field names that are projected from the iceberg table- Returns:
- this
-
scanMetrics
public OpenLineage.IcebergScanReportInputDatasetFacetBuilder scanMetrics(OpenLineage.IcebergScanReportInputDatasetFacetScanMetrics scanMetrics) - Parameters:
scanMetrics- the scanMetrics- Returns:
- this
-
metadata
public OpenLineage.IcebergScanReportInputDatasetFacetBuilder metadata(OpenLineage.IcebergScanReportInputDatasetFacetMetadata metadata) - Parameters:
metadata- the metadata- Returns:
- this
-
put
add additional properties- Parameters:
key- the additional property namevalue- the additional property value- Returns:
- this
-
build
build an instance of IcebergScanReportInputDatasetFacet from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.IcebergScanReportInputDatasetFacet>- Returns:
- the constructed type
-