public static enum SpannerIO.FailureMode extends java.lang.Enum<SpannerIO.FailureMode>
| Enum Constant and Description |
|---|
FAIL_FAST
Invalid write to Spanner will cause the pipeline to fail.
|
REPORT_FAILURES
Invalid mutations will be returned as part of the result of the write transform.
|
| Modifier and Type | Method and Description |
|---|---|
static SpannerIO.FailureMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpannerIO.FailureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpannerIO.FailureMode FAIL_FAST
public static final SpannerIO.FailureMode REPORT_FAILURES
public static SpannerIO.FailureMode[] values()
for (SpannerIO.FailureMode c : SpannerIO.FailureMode.values()) System.out.println(c);
public static SpannerIO.FailureMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null