Package io.openlineage.client
Class OpenLineage.ExtractionErrorRunFacetErrorsBuilder
java.lang.Object
io.openlineage.client.OpenLineage.ExtractionErrorRunFacetErrorsBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.ExtractionErrorRunFacetErrorsBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
builder class for ExtractionErrorRunFacetErrors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of ExtractionErrorRunFacetErrors from the fields set in the buildererrorMessage
(String errorMessage) stackTrace
(String stackTrace) taskNumber
(Long taskNumber)
-
Constructor Details
-
ExtractionErrorRunFacetErrorsBuilder
public ExtractionErrorRunFacetErrorsBuilder()
-
-
Method Details
-
errorMessage
- Parameters:
errorMessage
- Text representation of extraction error message.- Returns:
- this
-
stackTrace
- Parameters:
stackTrace
- Stack trace of extraction error message- Returns:
- this
-
task
- Parameters:
task
- Text representation of task that failed. This can be, for example, SQL statement that parser could not interpret.- Returns:
- this
-
taskNumber
- Parameters:
taskNumber
- Order of task (counted from 0).- Returns:
- this
-
build
build an instance of ExtractionErrorRunFacetErrors from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
- Returns:
- the constructed type
-