Package io.openlineage.client
Class OpenLineage.ExternalQueryRunFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.ExternalQueryRunFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ExternalQueryRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ExternalQueryRunFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.ExternalQueryRunFacet>
builder class for ExternalQueryRunFacet
-
-
Constructor Summary
Constructors Constructor Description ExternalQueryRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ExternalQueryRunFacet
build()
build an instance of ExternalQueryRunFacet from the fields set in the builderOpenLineage.ExternalQueryRunFacetBuilder
externalQueryId(java.lang.String externalQueryId)
OpenLineage.ExternalQueryRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.ExternalQueryRunFacetBuilder
source(java.lang.String source)
-
-
-
Method Detail
-
externalQueryId
public OpenLineage.ExternalQueryRunFacetBuilder externalQueryId(java.lang.String externalQueryId)
- Parameters:
externalQueryId
- Identifier for the external system- Returns:
- this
-
source
public OpenLineage.ExternalQueryRunFacetBuilder source(java.lang.String source)
- Parameters:
source
- source of the external query- Returns:
- this
-
put
public OpenLineage.ExternalQueryRunFacetBuilder put(java.lang.String key, java.lang.Object value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.ExternalQueryRunFacet build()
build an instance of ExternalQueryRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ExternalQueryRunFacet>
- Returns:
- the constructed type
-
-