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 java.lang.Object implements OpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
-
-
Constructor Summary
Constructors Constructor Description ExtractionErrorRunFacetErrorsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ExtractionErrorRunFacetErrors
build()
OpenLineage.ExtractionErrorRunFacetErrorsBuilder
errorMessage(java.lang.String errorMessage)
OpenLineage.ExtractionErrorRunFacetErrorsBuilder
stackTrace(java.lang.String stackTrace)
OpenLineage.ExtractionErrorRunFacetErrorsBuilder
task(java.lang.String task)
OpenLineage.ExtractionErrorRunFacetErrorsBuilder
taskNumber(java.lang.Long taskNumber)
-
-
-
Method Detail
-
errorMessage
public OpenLineage.ExtractionErrorRunFacetErrorsBuilder errorMessage(java.lang.String errorMessage)
- Parameters:
errorMessage
- Text representation of extraction error message.- Returns:
- this
-
stackTrace
public OpenLineage.ExtractionErrorRunFacetErrorsBuilder stackTrace(java.lang.String stackTrace)
- Parameters:
stackTrace
- Stack trace of extraction error message- Returns:
- this
-
task
public OpenLineage.ExtractionErrorRunFacetErrorsBuilder task(java.lang.String task)
- Parameters:
task
- Text representation of task that failed. This can be, for example, SQL statement that parser could not interpret.- Returns:
- this
-
taskNumber
public OpenLineage.ExtractionErrorRunFacetErrorsBuilder taskNumber(java.lang.Long taskNumber)
- Parameters:
taskNumber
- Order of task (counted from 0).- Returns:
- this
-
build
public OpenLineage.ExtractionErrorRunFacetErrors build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
- Returns:
- the constructed type
-
-