SparkJobType Class

public final class SparkJobType
extends ExpandableStringEnum<SparkJobType>

Defines values for SparkJobType.

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()

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()

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

public SparkJobType()

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()

Returns:

known SparkJobType values.

Applies to