Enum TarantoolUpdateOperationType
- java.lang.Object
-
- java.lang.Enum<TarantoolUpdateOperationType>
-
- io.tarantool.driver.api.tuple.operations.TarantoolUpdateOperationType
-
- All Implemented Interfaces:
Serializable
,Comparable<TarantoolUpdateOperationType>
public enum TarantoolUpdateOperationType extends Enum<TarantoolUpdateOperationType>
Encapsulates a set of supported Tarantool tuple operators forTarantoolUpdateRequest
andTarantoolUpsertRequest
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
BITWISEAND
BITWISEOR
BITWISEXOR
DELETE
INSERT
SET
SPLICE
SUBTRACT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static TarantoolUpdateOperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TarantoolUpdateOperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final TarantoolUpdateOperationType ADD
-
BITWISEAND
public static final TarantoolUpdateOperationType BITWISEAND
-
BITWISEOR
public static final TarantoolUpdateOperationType BITWISEOR
-
BITWISEXOR
public static final TarantoolUpdateOperationType BITWISEXOR
-
DELETE
public static final TarantoolUpdateOperationType DELETE
-
INSERT
public static final TarantoolUpdateOperationType INSERT
-
SET
public static final TarantoolUpdateOperationType SET
-
SPLICE
public static final TarantoolUpdateOperationType SPLICE
-
SUBTRACT
public static final TarantoolUpdateOperationType SUBTRACT
-
-
Method Detail
-
values
public static TarantoolUpdateOperationType[] 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 (TarantoolUpdateOperationType c : TarantoolUpdateOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TarantoolUpdateOperationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<TarantoolUpdateOperationType>
-
-