Package com.illumon.iris.db.v2.routing
Enum Class WritableDataRoutingService.Options
java.lang.Object
java.lang.Enum<WritableDataRoutingService.Options>
com.illumon.iris.db.v2.routing.WritableDataRoutingService.Options
- All Implemented Interfaces:
Serializable
,Comparable<WritableDataRoutingService.Options>
,java.lang.constant.Constable
- Enclosing interface:
- WritableDataRoutingService
public static enum WritableDataRoutingService.Options
extends Enum<WritableDataRoutingService.Options>
Options for add and delete operations. (prevent explosion of boolean parameters)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMake changes even when there are existing or new parsing errorsDon't require valid pre-existence checks for add and deleteNot an option, but convenient for coding -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WritableDataRoutingService.Options[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Not an option, but convenient for coding -
LENIENT
Don't require valid pre-existence checks for add and delete -
IGNORE_ERRORS
Make changes even when there are existing or new parsing errors
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-