OutputErrorPolicy Class

public final class OutputErrorPolicy
extends ExpandableStringEnum<OutputErrorPolicy>

Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).

Field Summary

Modifier and Type Field and Description
static final OutputErrorPolicy DROP

Static value Drop for OutputErrorPolicy.

static final OutputErrorPolicy STOP

Static value Stop for OutputErrorPolicy.

Constructor Summary

Constructor Description
OutputErrorPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OutputErrorPolicy value.

Method Summary

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

Creates or finds a OutputErrorPolicy from its string representation.

static Collection<OutputErrorPolicy> values()

Gets known OutputErrorPolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DROP

public static final OutputErrorPolicy DROP

Static value Drop for OutputErrorPolicy.

STOP

public static final OutputErrorPolicy STOP

Static value Stop for OutputErrorPolicy.

Constructor Details

OutputErrorPolicy

@Deprecated
public OutputErrorPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OutputErrorPolicy value.

Method Details

fromString

public static OutputErrorPolicy fromString(String name)

Creates or finds a OutputErrorPolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OutputErrorPolicy.

values

public static Collection values()

Gets known OutputErrorPolicy values.

Returns:

known OutputErrorPolicy values.

Applies to