Package io.openlineage.client
Class OpenLineage.RunFacetsBuilder
java.lang.Object
io.openlineage.client.OpenLineage.RunFacetsBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.RunFacets>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.RunFacetsBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.RunFacets>
builder class for RunFacets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of RunFacets from the fields set in the buildererrorMessage
(OpenLineage.ErrorMessageRunFacet errorMessage) externalQuery
(OpenLineage.ExternalQueryRunFacet externalQuery) extractionError
(OpenLineage.ExtractionErrorRunFacet extractionError) gcp_dataproc_spark
(OpenLineage.GcpDataprocSparkRunFacet gcp_dataproc_spark) nominalTime
(OpenLineage.NominalTimeRunFacet nominalTime) parent
(OpenLineage.ParentRunFacet parent) processing_engine
(OpenLineage.ProcessingEngineRunFacet processing_engine) put
(String key, OpenLineage.RunFacet value) add additional properties
-
Constructor Details
-
RunFacetsBuilder
public RunFacetsBuilder()
-
-
Method Details
-
errorMessage
- Parameters:
errorMessage
- the errorMessage- Returns:
- this
-
externalQuery
- Parameters:
externalQuery
- the externalQuery- Returns:
- this
-
extractionError
public OpenLineage.RunFacetsBuilder extractionError(OpenLineage.ExtractionErrorRunFacet extractionError) - Parameters:
extractionError
- the extractionError- Returns:
- this
-
parent
- Parameters:
parent
- the parent- Returns:
- this
-
nominalTime
- Parameters:
nominalTime
- the nominalTime- Returns:
- this
-
gcp_dataproc_spark
public OpenLineage.RunFacetsBuilder gcp_dataproc_spark(OpenLineage.GcpDataprocSparkRunFacet gcp_dataproc_spark) - Parameters:
gcp_dataproc_spark
- the gcp_dataproc_spark- Returns:
- this
-
processing_engine
public OpenLineage.RunFacetsBuilder processing_engine(OpenLineage.ProcessingEngineRunFacet processing_engine) - Parameters:
processing_engine
- the processing_engine- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of RunFacets from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.RunFacets>
- Returns:
- the constructed type
-