SparkJobType Class

public final class SparkJobType
extends ExpandableStringEnum<SparkJobType>

The job type.

Field Summary

Modifier and Type Field and Description
static final SparkJobType SPARK_BATCH

Static value SparkBatch for SparkJobType.

static final SparkJobType SPARK_SESSION

Static value SparkSession for SparkJobType.

Constructor Summary

Constructor Description
SparkJobType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkJobType value.

Method Summary

Modifier and Type Method and Description
static SparkJobType fromString(String name)

Creates or finds a SparkJobType from its string representation.

static Collection<SparkJobType> values()

Gets known SparkJobType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SPARK_BATCH

public static final SparkJobType SPARK_BATCH

Static value SparkBatch for SparkJobType.

SPARK_SESSION

public static final SparkJobType SPARK_SESSION

Static value SparkSession for SparkJobType.

Constructor Details

SparkJobType

@Deprecated
public SparkJobType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkJobType value.

Method Details

fromString

public static SparkJobType fromString(String name)

Creates or finds a SparkJobType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SparkJobType.

values

public static Collection values()

Gets known SparkJobType values.

Returns:

known SparkJobType values.

Applies to