SparkBatchJobResultType Class

public final class SparkBatchJobResultType
extends ExpandableStringEnum<SparkBatchJobResultType>

The Spark batch job result.

Field Summary

Modifier and Type Field and Description
static final SparkBatchJobResultType CANCELLED

Static value Cancelled for SparkBatchJobResultType.

static final SparkBatchJobResultType FAILED

Static value Failed for SparkBatchJobResultType.

static final SparkBatchJobResultType SUCCEEDED

Static value Succeeded for SparkBatchJobResultType.

static final SparkBatchJobResultType UNCERTAIN

Static value Uncertain for SparkBatchJobResultType.

Constructor Summary

Constructor Description
SparkBatchJobResultType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkBatchJobResultType value.

Method Summary

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

Creates or finds a SparkBatchJobResultType from its string representation.

static Collection<SparkBatchJobResultType> values()

Gets known SparkBatchJobResultType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELLED

public static final SparkBatchJobResultType CANCELLED

Static value Cancelled for SparkBatchJobResultType.

FAILED

public static final SparkBatchJobResultType FAILED

Static value Failed for SparkBatchJobResultType.

SUCCEEDED

public static final SparkBatchJobResultType SUCCEEDED

Static value Succeeded for SparkBatchJobResultType.

UNCERTAIN

public static final SparkBatchJobResultType UNCERTAIN

Static value Uncertain for SparkBatchJobResultType.

Constructor Details

SparkBatchJobResultType

@Deprecated
public SparkBatchJobResultType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkBatchJobResultType value.

Method Details

fromString

public static SparkBatchJobResultType fromString(String name)

Creates or finds a SparkBatchJobResultType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SparkBatchJobResultType.

values

public static Collection values()

Gets known SparkBatchJobResultType values.

Returns:

known SparkBatchJobResultType values.

Applies to