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>
builder class for ExtractionErrorRunFacetErrors
-
-
Constructor Summary
Constructors Constructor Description ExtractionErrorRunFacetErrorsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ExtractionErrorRunFacetErrors
build()
build an instance of ExtractionErrorRunFacetErrors from the fields set in the builderOpenLineage.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()
build an instance of ExtractionErrorRunFacetErrors from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExtractionErrorRunFacetErrors>
- Returns:
- the constructed type
-
-