Enum UpsertReq.FieldPartialUpdateOp.OpType
- java.lang.Object
-
- java.lang.Enum<UpsertReq.FieldPartialUpdateOp.OpType>
-
- io.milvus.v2.service.vector.request.UpsertReq.FieldPartialUpdateOp.OpType
-
- All Implemented Interfaces:
Serializable,Comparable<UpsertReq.FieldPartialUpdateOp.OpType>
- Enclosing class:
- UpsertReq.FieldPartialUpdateOp
public static enum UpsertReq.FieldPartialUpdateOp.OpType extends Enum<UpsertReq.FieldPartialUpdateOp.OpType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_APPENDARRAY_REMOVEREPLACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpsertReq.FieldPartialUpdateOp.OpTypevalueOf(String name)Returns the enum constant of this type with the specified name.static UpsertReq.FieldPartialUpdateOp.OpType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final UpsertReq.FieldPartialUpdateOp.OpType REPLACE
-
ARRAY_APPEND
public static final UpsertReq.FieldPartialUpdateOp.OpType ARRAY_APPEND
-
ARRAY_REMOVE
public static final UpsertReq.FieldPartialUpdateOp.OpType ARRAY_REMOVE
-
-
Method Detail
-
values
public static UpsertReq.FieldPartialUpdateOp.OpType[] 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 (UpsertReq.FieldPartialUpdateOp.OpType c : UpsertReq.FieldPartialUpdateOp.OpType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpsertReq.FieldPartialUpdateOp.OpType 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
-
-