Enum BigtableIO.ExistingPipelineOptions
- java.lang.Object
-
- java.lang.Enum<BigtableIO.ExistingPipelineOptions>
-
- org.apache.beam.sdk.io.gcp.bigtable.BigtableIO.ExistingPipelineOptions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BigtableIO.ExistingPipelineOptions>
- Enclosing class:
- BigtableIO
public static enum BigtableIO.ExistingPipelineOptions extends java.lang.Enum<BigtableIO.ExistingPipelineOptions>
Overwrite options to determine what to do if change stream name is being reused and there exists metadata of the same change stream name.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_IF_EXISTSRESUME_OR_FAILRESUME_OR_NEWSKIP_CLEANUP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigtableIO.ExistingPipelineOptionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BigtableIO.ExistingPipelineOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAIL_IF_EXISTS
public static final BigtableIO.ExistingPipelineOptions FAIL_IF_EXISTS
-
RESUME_OR_NEW
public static final BigtableIO.ExistingPipelineOptions RESUME_OR_NEW
-
RESUME_OR_FAIL
public static final BigtableIO.ExistingPipelineOptions RESUME_OR_FAIL
-
SKIP_CLEANUP
public static final BigtableIO.ExistingPipelineOptions SKIP_CLEANUP
-
-
Method Detail
-
values
public static BigtableIO.ExistingPipelineOptions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BigtableIO.ExistingPipelineOptions c : BigtableIO.ExistingPipelineOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BigtableIO.ExistingPipelineOptions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-