SparkAuthenticationType Class

public final class SparkAuthenticationType
extends ExpandableStringEnum<SparkAuthenticationType>

The authentication method used to access the Spark server.

Field Summary

Modifier and Type Field and Description
static final SparkAuthenticationType ANONYMOUS

Static value Anonymous for SparkAuthenticationType.

static final SparkAuthenticationType USERNAME

Static value Username for SparkAuthenticationType.

static final SparkAuthenticationType USERNAME_AND_PASSWORD

Static value UsernameAndPassword for SparkAuthenticationType.

static final SparkAuthenticationType WINDOWS_AZURE_HDINSIGHT_SERVICE

Static value WindowsAzureHDInsightService for SparkAuthenticationType.

Constructor Summary

Constructor Description
SparkAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkAuthenticationType value.

Method Summary

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

Creates or finds a SparkAuthenticationType from its string representation.

static Collection<SparkAuthenticationType> values()

Gets known SparkAuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANONYMOUS

public static final SparkAuthenticationType ANONYMOUS

Static value Anonymous for SparkAuthenticationType.

USERNAME

public static final SparkAuthenticationType USERNAME

Static value Username for SparkAuthenticationType.

USERNAME_AND_PASSWORD

public static final SparkAuthenticationType USERNAME_AND_PASSWORD

Static value UsernameAndPassword for SparkAuthenticationType.

WINDOWS_AZURE_HDINSIGHT_SERVICE

public static final SparkAuthenticationType WINDOWS_AZURE_HDINSIGHT_SERVICE

Static value WindowsAzureHDInsightService for SparkAuthenticationType.

Constructor Details

SparkAuthenticationType

@Deprecated
public SparkAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkAuthenticationType value.

Method Details

fromString

public static SparkAuthenticationType fromString(String name)

Creates or finds a SparkAuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SparkAuthenticationType.

values

public static Collection values()

Gets known SparkAuthenticationType values.

Returns:

known SparkAuthenticationType values.

Applies to