Package io.openlineage.client
Class OpenLineage.ExtractionErrorRunFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.ExtractionErrorRunFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ExtractionErrorRunFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacet>
builder class for ExtractionErrorRunFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of ExtractionErrorRunFacet from the fields set in the builderfailedTasks
(Long failedTasks) add additional propertiestotalTasks
(Long totalTasks)
-
Constructor Details
-
ExtractionErrorRunFacetBuilder
public ExtractionErrorRunFacetBuilder()
-
-
Method Details
-
totalTasks
- Parameters:
totalTasks
- The number of distinguishable tasks in a run that were processed by OpenLineage, whether successfully or not. Those could be, for example, distinct SQL statements.- Returns:
- this
-
failedTasks
- Parameters:
failedTasks
- The number of distinguishable tasks in a run that were processed not successfully by OpenLineage. Those could be, for example, distinct SQL statements.- Returns:
- this
-
errors
public OpenLineage.ExtractionErrorRunFacetBuilder errors(List<OpenLineage.ExtractionErrorRunFacetErrors> errors) - Parameters:
errors
- the errors- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of ExtractionErrorRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExtractionErrorRunFacet>
- Returns:
- the constructed type
-