Package io.openlineage.client
Class OpenLineage.GcpDataprocRunFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.GcpDataprocRunFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.GcpDataprocRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.GcpDataprocRunFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.GcpDataprocRunFacet>
builder class for GcpDataprocRunFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of GcpDataprocRunFacet from the fields set in the builderclusterName
(String clusterName) clusterUuid
(String clusterUuid) add additional propertiesqueryNodeName
(String queryNodeName) sessionUuid
(String sessionUuid)
-
Constructor Details
-
GcpDataprocRunFacetBuilder
public GcpDataprocRunFacetBuilder()
-
-
Method Details
-
appId
- Parameters:
appId
- Application ID set by the resource manager. For spark jobs, it is set in the spark configuration of the current context.- Returns:
- this
-
appName
- Parameters:
appName
- App name which may be provided by the user, or some default is used by the resource manager. For spark jobs, it is set in the spark configuration of the current context.- 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
-
jobType
- Parameters:
jobType
- Identifies whether the process is a job (on a Dataproc cluster), a batch or a session.- 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 GcpDataprocRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.GcpDataprocRunFacet>
- Returns:
- the constructed type
-