Package io.openlineage.client
Class OpenLineage.GcpDataprocSparkRunFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.GcpDataprocSparkRunFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.GcpDataprocSparkRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.GcpDataprocSparkRunFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.GcpDataprocSparkRunFacet>
builder class for GcpDataprocSparkRunFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of GcpDataprocSparkRunFacet from the fields set in the builderclusterName
(String clusterName) clusterUuid
(String clusterUuid) add additional propertiesqueryNodeName
(String queryNodeName) sessionUuid
(String sessionUuid)
-
Constructor Details
-
GcpDataprocSparkRunFacetBuilder
public GcpDataprocSparkRunFacetBuilder()
-
-
Method Details
-
appId
- Parameters:
appId
- Application ID set in the spark configuration of the current context. Its format depends on the resource manager.- Returns:
- this
-
appName
- Parameters:
appName
- App name set in the spark configuration of the current context. It may be provided by the user.- Returns:
- this
-
batchId
- Parameters:
batchId
- Populated only for Dataproc serverless batches. The resource id of the batch.- Returns:
- this
-
batchUuid
- Parameters:
batchUuid
- Populated only for Dataproc serverless batches. A UUID generated by the service when it creates the batch.- Returns:
- this
-
clusterName
- Parameters:
clusterName
- Populated only for Dataproc GCE workloads. The cluster name is unique within a GCP project.- Returns:
- this
-
clusterUuid
- Parameters:
clusterUuid
- Populated only for Dataproc GCE workloads. A UUID generated by the service at the time of cluster creation.- Returns:
- this
-
jobId
- Parameters:
jobId
- Populated only for Dataproc GCE workloads. If not specified by the user, the job ID will be provided by the service.- Returns:
- this
-
jobUuid
- Parameters:
jobUuid
- Populated only for Dataproc GCE workloads. A UUID that uniquely identifies a job within the project over time.- Returns:
- this
-
projectId
- Parameters:
projectId
- The GCP project ID that the resource belongs to.- Returns:
- this
-
queryNodeName
- Parameters:
queryNodeName
- The name of the query node in the executed Spark Plan. Often used to describe the command being executed.- Returns:
- this
-
sessionId
- Parameters:
sessionId
- Populated only for Dataproc serverless interactive sessions. The resource id of the session, used for URL generation.- Returns:
- this
-
sessionUuid
- Parameters:
sessionUuid
- Populated only for Dataproc serverless interactive sessions. A UUID generated by the service when it creates the session.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of GcpDataprocSparkRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.GcpDataprocSparkRunFacet>
- Returns:
- the constructed type
-