CompatibilityLevel Class

public final class CompatibilityLevel
extends ExpandableStringEnum<CompatibilityLevel>

Controls certain runtime behaviors of the streaming job.

Field Summary

Modifier and Type Field and Description
static final CompatibilityLevel ONE_TWO

Static value 1.2 for CompatibilityLevel.

static final CompatibilityLevel ONE_ZERO

Static value 1.0 for CompatibilityLevel.

Constructor Summary

Constructor Description
CompatibilityLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CompatibilityLevel value.

Method Summary

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

Creates or finds a CompatibilityLevel from its string representation.

static Collection<CompatibilityLevel> values()

Gets known CompatibilityLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ONE_TWO

public static final CompatibilityLevel ONE_TWO

Static value 1.2 for CompatibilityLevel.

ONE_ZERO

public static final CompatibilityLevel ONE_ZERO

Static value 1.0 for CompatibilityLevel.

Constructor Details

CompatibilityLevel

@Deprecated
public CompatibilityLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CompatibilityLevel value.

Method Details

fromString

public static CompatibilityLevel fromString(String name)

Creates or finds a CompatibilityLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CompatibilityLevel.

values

public static Collection values()

Gets known CompatibilityLevel values.

Returns:

known CompatibilityLevel values.

Applies to