Package io.openlineage.client
Class OpenLineage.SQLJobFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.SQLJobFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.SQLJobFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.SQLJobFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.SQLJobFacet>
builder class for SQLJobFacet
-
-
Constructor Summary
Constructors Constructor Description SQLJobFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.SQLJobFacet
build()
build an instance of SQLJobFacet from the fields set in the builderOpenLineage.SQLJobFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.SQLJobFacetBuilder
query(java.lang.String query)
-
-
-
Method Detail
-
query
public OpenLineage.SQLJobFacetBuilder query(java.lang.String query)
- Parameters:
query
- the query- Returns:
- this
-
put
public OpenLineage.SQLJobFacetBuilder 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.SQLJobFacet build()
build an instance of SQLJobFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SQLJobFacet>
- Returns:
- the constructed type
-
-