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 builderenvironmentVariables
(OpenLineage.EnvironmentVariablesRunFacet environmentVariables) errorMessage
(OpenLineage.ErrorMessageRunFacet errorMessage) externalQuery
(OpenLineage.ExternalQueryRunFacet externalQuery) extractionError
(OpenLineage.ExtractionErrorRunFacet extractionError) gcp_dataproc
(OpenLineage.GcpDataprocRunFacet gcp_dataproc) 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
-
externalQuery
- Parameters:
externalQuery
- the externalQuery- Returns:
- this
-
gcp_dataproc
- Parameters:
gcp_dataproc
- the gcp_dataproc- 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
-
errorMessage
- Parameters:
errorMessage
- the errorMessage- Returns:
- this
-
environmentVariables
public OpenLineage.RunFacetsBuilder environmentVariables(OpenLineage.EnvironmentVariablesRunFacet environmentVariables) - Parameters:
environmentVariables
- the environmentVariables- 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
-