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 java.lang.Object implements OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacet>
-
-
Constructor Summary
Constructors Constructor Description ExtractionErrorRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ExtractionErrorRunFacet
build()
OpenLineage.ExtractionErrorRunFacetBuilder
errors(java.util.List<OpenLineage.ExtractionErrorRunFacetErrors> errors)
OpenLineage.ExtractionErrorRunFacetBuilder
failedTasks(java.lang.Long failedTasks)
OpenLineage.ExtractionErrorRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.ExtractionErrorRunFacetBuilder
totalTasks(java.lang.Long totalTasks)
-
-
-
Method Detail
-
totalTasks
public OpenLineage.ExtractionErrorRunFacetBuilder totalTasks(java.lang.Long 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
public OpenLineage.ExtractionErrorRunFacetBuilder failedTasks(java.lang.Long 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(java.util.List<OpenLineage.ExtractionErrorRunFacetErrors> errors)
- Parameters:
errors
- the errors- Returns:
- this
-
put
public OpenLineage.ExtractionErrorRunFacetBuilder put(java.lang.String key, java.lang.Object value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.ExtractionErrorRunFacet build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExtractionErrorRunFacet>
- Returns:
- the constructed type
-
-