@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.723Z") @Stability(value=Experimental) public class JobExecutable extends software.amazon.jsii.JsiiObject
Example:
Bucket bucket;
Job.Builder.create(this, "PythonShellJob")
.executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()
.glueVersion(GlueVersion.V1_0)
.pythonVersion(PythonVersion.THREE)
.script(Code.fromBucket(bucket, "script.py"))
.build()))
.description("an example Python Shell job")
.build();
| Modifier | Constructor and Description |
|---|---|
protected |
JobExecutable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
JobExecutable(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
JobExecutableConfig |
bind()
(experimental) Called during Job initialization to get JobExecutableConfig.
|
static JobExecutable |
of(JobExecutableConfig config)
(experimental) Create a custom JobExecutable.
|
static JobExecutable |
pythonEtl(PythonSparkJobExecutableProps props)
(experimental) Create Python executable props for Apache Spark ETL job.
|
static JobExecutable |
pythonShell(PythonShellExecutableProps props)
(experimental) Create Python executable props for python shell jobs.
|
static JobExecutable |
pythonStreaming(PythonSparkJobExecutableProps props)
(experimental) Create Python executable props for Apache Spark Streaming job.
|
static JobExecutable |
scalaEtl(ScalaJobExecutableProps props)
(experimental) Create Scala executable props for Apache Spark ETL job.
|
static JobExecutable |
scalaStreaming(ScalaJobExecutableProps props)
(experimental) Create Scala executable props for Apache Spark Streaming job.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected JobExecutable(software.amazon.jsii.JsiiObjectRef objRef)
protected JobExecutable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static JobExecutable of(@NotNull JobExecutableConfig config)
config - custom job executable configuration. This parameter is required.@Stability(value=Experimental) @NotNull public static JobExecutable pythonEtl(@NotNull PythonSparkJobExecutableProps props)
props - Python Apache Spark Job props. This parameter is required.@Stability(value=Experimental) @NotNull public static JobExecutable pythonShell(@NotNull PythonShellExecutableProps props)
props - Python Shell Job props. This parameter is required.@Stability(value=Experimental) @NotNull public static JobExecutable pythonStreaming(@NotNull PythonSparkJobExecutableProps props)
props - Python Apache Spark Job props. This parameter is required.@Stability(value=Experimental) @NotNull public static JobExecutable scalaEtl(@NotNull ScalaJobExecutableProps props)
props - Scala Apache Spark Job props. This parameter is required.@Stability(value=Experimental) @NotNull public static JobExecutable scalaStreaming(@NotNull ScalaJobExecutableProps props)
props - Scala Apache Spark Job props. This parameter is required.@Stability(value=Experimental) @NotNull public JobExecutableConfig bind()
Copyright © 2022. All rights reserved.