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 java.lang.Object implements OpenLineage.Builder<OpenLineage.RunFacets>
builder class for RunFacets
-
-
Constructor Summary
Constructors Constructor Description RunFacetsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.RunFacets
build()
build an instance of RunFacets from the fields set in the builderOpenLineage.RunFacetsBuilder
errorMessage(OpenLineage.ErrorMessageRunFacet errorMessage)
OpenLineage.RunFacetsBuilder
externalQuery(OpenLineage.ExternalQueryRunFacet externalQuery)
OpenLineage.RunFacetsBuilder
extractionError(OpenLineage.ExtractionErrorRunFacet extractionError)
OpenLineage.RunFacetsBuilder
nominalTime(OpenLineage.NominalTimeRunFacet nominalTime)
OpenLineage.RunFacetsBuilder
parent(OpenLineage.ParentRunFacet parent)
OpenLineage.RunFacetsBuilder
processing_engine(OpenLineage.ProcessingEngineRunFacet processing_engine)
OpenLineage.RunFacetsBuilder
put(java.lang.String key, OpenLineage.RunFacet value)
add additional properties
-
-
-
Method Detail
-
errorMessage
public OpenLineage.RunFacetsBuilder errorMessage(OpenLineage.ErrorMessageRunFacet errorMessage)
- Parameters:
errorMessage
- the errorMessage- Returns:
- this
-
externalQuery
public OpenLineage.RunFacetsBuilder externalQuery(OpenLineage.ExternalQueryRunFacet externalQuery)
- Parameters:
externalQuery
- the externalQuery- Returns:
- this
-
extractionError
public OpenLineage.RunFacetsBuilder extractionError(OpenLineage.ExtractionErrorRunFacet extractionError)
- Parameters:
extractionError
- the extractionError- Returns:
- this
-
parent
public OpenLineage.RunFacetsBuilder parent(OpenLineage.ParentRunFacet parent)
- Parameters:
parent
- the parent- Returns:
- this
-
nominalTime
public OpenLineage.RunFacetsBuilder nominalTime(OpenLineage.NominalTimeRunFacet nominalTime)
- Parameters:
nominalTime
- the nominalTime- Returns:
- this
-
processing_engine
public OpenLineage.RunFacetsBuilder processing_engine(OpenLineage.ProcessingEngineRunFacet processing_engine)
- Parameters:
processing_engine
- the processing_engine- Returns:
- this
-
put
public OpenLineage.RunFacetsBuilder put(java.lang.String key, OpenLineage.RunFacet value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.RunFacets 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
-
-